Where I’m from in southern USA, there are 65mph state highways with 4 way traffic light intersections. There is always a “stop light ahead” sign, and the rule is simple: if you are traveling the speed limit and you pass the “stop light ahead” sign before the light starts to change, you will clear the yellow phase.