If you are approaching an intersection where the traffic light has changed from green to yellow:

A steady yellow light means that the signal is about to turn red. If the light is yellow and you have not yet entered the intersection, you should come to a safe stop. Speeding up to "beat the light" is illegal and dangerous.
DMV Writen Test