Traffic Light Colour Coding System: How It Works

How-to basics · Updated November 22, 2026

The traffic light colour coding system uses red, amber (yellow), and green in a fixed sequence to control the right of way at intersections: red means stop, amber means prepare to stop, and green means go. This three-colour standard is nearly universal worldwide, and its meaning is legally defined in most countries, though the exact timing and rules for turning vary by jurisdiction.

Why These Three Colours?

The choice of red, amber, and green is not arbitrary. It stems from the physics of light and human perception. Red has the longest wavelength visible to the human eye, so it scatters least in the atmosphere and can be seen from the greatest distance. It also carries a strong cultural association with danger and warning. Green is at the opposite end of the visible spectrum, distinct from red even for people with common forms of colour blindness, and it has long signified safety and permission. Amber sits between them in wavelength and in meaning, acting as a transitional warning. The first electric traffic light, installed in Cleveland, Ohio, in 1914, used only red and green; amber was added a few years later to give drivers a buffer between go and stop.

The Standard Sequence and Timing

The typical sequence is green → amber → red → red-and-amber (in some countries) → green. In the United States, Canada, and most of Europe, the sequence is green, amber, red, then green again without a red-and-amber phase. In the United Kingdom and several Commonwealth countries, the lights show red and amber together for a couple of seconds before green, giving drivers a clear “prepare to go” signal. The duration of each phase is set by traffic engineers based on intersection geometry, traffic volume, and pedestrian crossing times. A common urban intersection might have a green time of 20–40 seconds, amber of 3–5 seconds, and red of 30–60 seconds. The amber time is calculated using the “dilemma zone” formula: it must be long enough for a driver at the legal speed to either stop safely or clear the intersection before the light turns red.

How Drivers Should Interpret Each Colour

  • Green: Proceed if the intersection is clear and you can clear it before the light changes. Green does not mean “go without looking”; it grants the right of way but not immunity from cross traffic or pedestrians.
  • Amber (yellow): Stop if you can do so safely. If you are so close that stopping would cause a rear-end collision or you cannot stop before the stop line, you may proceed through. The legal definition of “too close to stop” varies, but most states in the U.S. use the “point of no return” based on speed and reaction time.
  • Red: Stop completely before the stop line, crosswalk, or intersection. You may turn right on red (or left on red on one-way streets) in most U.S. states unless a sign prohibits it, but you must yield to pedestrians and through traffic. In many European countries, turning on red is prohibited unless a green arrow signal is shown.

Special Signals and Variations

Beyond the basic three colours, traffic lights often include arrows, flashing signals, and pedestrian-specific lights. A green arrow allows a protected turn even when the main light is red. A flashing red light means the same as a stop sign: come to a complete stop, then proceed when safe. A flashing amber light means proceed with caution, yielding to pedestrians and cross traffic. Pedestrian signals use a white walking figure for “go” and a flashing or solid orange/red hand for “don’t walk.” Some intersections also have countdown timers showing how many seconds remain before the light changes, which help drivers decide whether to stop or proceed. In Europe, some traffic lights have a small green arrow attached to the red light, allowing a turn after yielding to pedestrians and other vehicles; this is known as a “filter arrow.”

Common Misconceptions and Errors

One widespread misconception is that green means “go immediately.” In many jurisdictions, you must ensure the intersection is clear before entering, and if you are already in the intersection when the light turns red, you are legally allowed to clear it—this is called “being caught in the box.” Another error is treating amber as a “hurry up” signal. In most places, running a red light is defined as entering the intersection after the light has turned red; entering on amber is legal, but if the light turns red while you are still in the intersection, you may be cited. A less common but dangerous mistake is assuming that a green light guarantees safety from red-light runners. Always look both ways before entering an intersection, even on green. Colour-blind drivers are not exempt from obeying traffic lights; they must rely on position (red is always top, green always bottom) and brightness. This positional standard is why the colours are always arranged in the same order, regardless of the signal’s orientation.

How Traffic Lights Are Controlled

Traffic lights are not all on fixed timers. Modern systems use a combination of fixed-time, actuated, and adaptive control. Fixed-time signals follow a pre-programmed schedule, often synchronized along a corridor to create a “green wave.” Actuated signals use sensors (inductive loops in the pavement, cameras, or radar) to detect approaching vehicles and extend or shorten the green phase accordingly. Adaptive systems, such as SCOOT (Split Cycle Offset Optimisation Technique) used in the UK, adjust timings in real time based on traffic flow data. Connected vehicle technology is beginning to allow traffic lights to communicate with cars, potentially reducing idling and improving safety. Pedestrian push buttons are a simple form of actuation: they request a green pedestrian phase, but the signal may still take some time to respond depending on the cycle.

History and Global Standardisation

The first manually operated traffic signal was installed in London in 1868, using gas lamps with red and green lenses, but it exploded and was discontinued. The modern electric three-colour signal emerged in the 1920s. The first four-way three-colour traffic light was installed in Detroit in 1920. In 1935, the U.S. federal government published the first Manual on Uniform Traffic Control Devices (MUTCD), which standardized the colours and meanings. The United Nations’ Vienna Convention on Road Signs and Signals (1968) further codified the red-amber-green sequence for international use, although not all countries have signed it. Today, the sequence is essentially universal, with minor variations in the red-and-amber phase and the legality of turning on red. The colour coding is so ingrained that it has been adopted metaphorically in many fields, such as project management (red/amber/green status) and food labelling (traffic light nutrition labels in the UK).

Frequently Asked Questions

What does a flashing yellow arrow mean?

A flashing yellow arrow (usually for left turns) means you may turn left, but only after yielding to oncoming traffic and pedestrians. It is more permissive than a solid green arrow (protected turn) but more restrictive than a solid green light. It is used in many U.S. states because it reduces confusion compared to the older “green ball” that also allowed turns but was less clear.

Is it legal to turn right on red everywhere?

No. In the United States, right turn on red is legal in all 50 states unless a sign prohibits it, but in New York City it is generally prohibited unless a sign allows it. In Canada, it is legal except on the island of Montreal. In most of Europe, Asia, and Australia, turning on red is illegal unless a green arrow signal is shown. Always check local laws.

Why do some traffic lights have a red and amber together before green?

This “red-and-amber” phase is used in the UK, Ireland, Australia, and New Zealand. It gives drivers a clear warning that the light is about to turn green, reducing the chance of starting too early or hesitating. It also helps drivers who have been waiting at red to prepare to move off, improving traffic flow. The phase typically lasts 2 seconds.

How long does the amber light last?

It varies, but typical amber durations are 3 to 5 seconds for most urban intersections. The duration is calculated based on the posted speed limit and the distance needed to stop safely. At higher speeds, the amber is longer. Some intersections also have an “all-red” clearance interval, where all lights are red for 1–3 seconds to allow vehicles already in the intersection to clear it.

Can I get a ticket for entering an intersection on amber?

In most places, entering on amber is legal, but if the light turns red before you enter the intersection, you can be cited for running a red light. Some jurisdictions use red-light cameras that photograph vehicles entering after the red. However, if you are already in the intersection when the light turns red (e.g., waiting to turn), you are generally allowed to clear it—this is not a violation.

What do the different colours mean for pedestrians?

Pedestrian signals use a white walking figure (or a solid white “WALK”) to indicate it is safe to start crossing. A flashing orange or red hand means “don’t start crossing” but you may finish if you are already in the crosswalk. A solid orange or red hand means do not enter the crosswalk. Some signals also have an audible beep or vibration for visually impaired pedestrians.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.