Lego EV3 Color Sensor in Python

Hi. Pls. Help. How Can I do this action in python for ev3?
Run large motor on 30 speed. And wait for color sensor detected yellow color.When color sensor detected yellow color stop the motor. Thank you