That's why it's important to know the rules, so they don't stand a chance if they want to extort from you. There is no such thing as beating a yellow light.
There are some lights na ambilis rin ng yellow, after one second red kaagad. That's not fair either, the lights should give the vehicles enough time to cross the intersection safely.
FWIW, for those who are color-blind, red is the top light, yellow is the middle and green is the lowest light. Red and green arrows also follow this, red will always be on top. That is, if the lights are working...