When traffic lights are horizontal, the yellow light is:

In some metropolitan areas, traffic lights are horizontal instead of vertical. On these signals, the red light is on the left, the yellow light is in the middle, and the green light is on the right.
DMV Writen Test