Quick answer: Why are traffic lights red, yellow and green?
- From the railways — road signals copied railway lamp signals, where red already meant stop; green replaced white for 'go' to avoid confusion with ordinary lights.
- 1868 — the first road signal, a gas-lit semaphore outside the Houses of Parliament in London, exploded within weeks.
- 1914 — Cleveland, Ohio, installed the first electric traffic signal, with red and green lamps and a warning buzzer.
- The physics — red has the longest visible wavelength; amber sits near the eye's peak sensitivity; green is tuned bluish.
- Colour blindness — about 1 in 12 men of Northern European descent has red-green colour deficiency, so position (red on top) matters as much as colour.
Key takeaways
- The colours are a convention inherited from 19th-century railways, then standardised internationally.
- Red was chosen for 'stop' because it already meant danger and stands out against most natural backgrounds.
- Position is a backup code: red is always on top (or on the left), so drivers who can't tell the colours apart still know the signal.
- Signal green is deliberately bluish, which makes it easier to distinguish from red for people with red-green colour deficiency.
- Designers should never rely on colour alone: the same rule applies to every red error message and green success state in an app.
On 9 December 1868, a strange machine appeared at the corner of Bridge Street and Great George Street in Westminster, outside the Houses of Parliament. It was a railway signal on a pole: two semaphore arms by day and a gas lamp, red and green, by night, turned by a police constable. Within a month the gas leaked and the lamp exploded, badly burning the officer. The idea survived. Today every driver on Earth reads the same three colours, and almost none of them know why it's those three. The answer is part history and part physics, and it carries a lesson for anyone who uses colour in a screen.

Why traffic lights are red, yellow and green: the short answer
Traffic lights use red, yellow and green because road signals were copied from railway signals, and because each colour has a perceptual job.
| Colour | Meaning | Where it came from | The perception reason |
|---|---|---|---|
| Red | Stop | Railway "danger" signal | Longest visible wavelength; stands out against most scenes |
| Amber / yellow | Caution | Added as a warning phase, around 1920 | Close to the eye's peak daytime sensitivity |
| Green | Go | Replaced white "clear" on railways | Set bluish so it can be told from red by colour-deficient eyes |
Table: What each traffic-light colour does and why (history from railway and signal sources; perception from vision science)
- First road signal, Westminster, London
- 9 Dec 1868
- First electric traffic signal, Cleveland, Ohio
- 5 Aug 1914
- Men of Northern European descent with red-green colour deficiency
- 1 in 12
- Vienna Convention standardises road signals
- 1968
Where the colours came from: the railways
The colours came from the railways because the railways had already solved the problem of telling moving vehicles when to stop. Early British railways used red for danger, white for all clear, and green for caution. White turned out to be a dangerous choice: a driver could mistake a street lamp, a house window or a star for "clear". By the late 19th century green had taken over as "clear", and yellow later became the caution colour on distant signals.

John Peake Knight, the railway engineer behind the 1868 Westminster signal, simply moved this railway system to the road: arms raised for stop, lowered for caution, with a red and green gas lamp for night use1. After the explosion, London went back to police officers directing traffic by hand for decades.
From gas lamps to electric signals (1868–1923)
Electric signals came from the United States, where cars multiplied in the 1910s. On 5 August 1914 the American Traffic Signal Company installed an electric signal designed by James Hoge at Euclid Avenue and East 105th Street in Cleveland, Ohio. It had red and green lamps, the words "stop" and "move", and a buzzer that sounded before the colours changed, a forerunner of the amber phase2.


Around 1920, Detroit police officer William Potts built one of the first signals with all three colours, adding amber as a warning. In 1923 the inventor Garrett Morgan patented a T-shaped manual signal with a third position that stopped traffic in every direction, giving people time to clear the junction3. Morgan is often wrongly called the inventor of the traffic light; his contribution was the all-stop interval.
The physics: why red for stop?
Red works for stop partly because of history and partly because of how light and eyes behave.
Red has the longest wavelength of visible light, roughly 620 to 750 nanometres. Very small particles in the air scatter short wavelengths more than long ones (the same Rayleigh scattering that makes the sky blue), so red light carries slightly better through fine haze and dust. In thick fog the droplets are large enough to scatter all colours almost equally, so this advantage should not be overstated.
Red is rare in the background. Streets are mostly grey, brown and green; a bright red point is easy to pick out, a case of the von Restorff effect, where the item that differs from its surroundings is the one we notice.
Amber is close to peak sensitivity. In daylight, the human eye is most sensitive to yellow-green light around 555 nm. Amber, around 590 nm, sits close to that peak, so a caution light looks very bright for the power it uses.
How do colour-blind drivers read traffic lights?
Colour-blind drivers read traffic lights by position as much as by colour. Red-green colour vision deficiency affects about 1 in 12 men and 1 in 200 women of Northern European ancestry, according to the US National Library of Medicine4; rates are somewhat lower in many other populations, but it is common everywhere5.
Signals are designed with this in mind. The colours always appear in the same order, red at the top or left, so the lit position carries the meaning. And signal green is deliberately a bluish green rather than a yellowish one, because for many people with red-green deficiency, yellowish greens and reds look alike while a bluish green looks different.

Japan takes this further for a linguistic reason. In Japanese the word ao historically covered both blue and green, and the go light has always been called ao. Since 1973 the government has specified the bluest green that international standards allow, so many Japanese lights look turquoise6.
One code for the world
The colours became universal through international agreement. The 1968 Vienna Convention on Road Signs and Signals, signed by dozens of countries, standardised the meaning of red, amber and green and the order of lights7. Details still differ: the UK shows red and amber together before green; many countries, including India, add countdown timers; and some flash green before it changes. The core code is the same everywhere.

What traffic lights teach screen designers
Traffic lights are the world's most successful colour code, and they work because they never depend on colour alone. Apps often do.

- Pair colour with a second cue — an error should have an icon and text, not only a red border; WCAG's "Use of Color" criterion requires it8.
- Keep positions consistent — like red on top, put destructive and primary actions in the same place on every screen.
- Use red sparingly — if everything is red, nothing stops anyone; reserve it for real danger or errors.
- Check your greens and reds together — test success and error states with a colour-blindness simulator.
- Respect learned meanings — red means stop or error worldwide; using it for "go" fights decades of training.
Our accessibility checklist covers colour contrast and colour-independent cues in detail, and a mobile app UX audit tests them with real users.
How we researched this
Historical dates come from contemporary reporting on the 1868 London signal, the Cleveland Police Museum's history of the 1914 signal and Garrett Morgan's 1923 patent. Colour-vision figures come from the US National Library of Medicine and the National Eye Institute; Japan's 1973 standard from published explanations of the ao colour term. The physics of scattering and eye sensitivity is standard optics; wavelengths in the illustration are approximate. Last reviewed October 2026.
Frequently asked questions
Why is red used for stop?
Red already meant danger on railways, which supplied the first road signals, and it is highly conspicuous against the greens, greys and browns of most streets. It also has the longest wavelength of visible light, which is scattered slightly less by fine haze. The association was then fixed by law and international agreement, so every driver learns it.
Who invented the traffic light?
John Peake Knight, a railway engineer, designed the first road signal, a gas-lit semaphore installed outside the Houses of Parliament in London in December 1868. The first electric traffic signal was installed in Cleveland, Ohio, on 5 August 1914. Garrett Morgan patented a three-position signal in 1923, but he did not invent the traffic light.
Why are Japan's green lights blue?
In Japanese, the word ao historically covered both blue and green, and the go light has always been called ao. Since 1973 the government has specified the bluest shade of green allowed by international standards, so the lights match their name while still counting as green. Many look turquoise to visitors.
How do colour-blind people read traffic lights?
By position and brightness. Red is always at the top of a vertical signal (or the left of a horizontal one), green at the bottom, and amber in the middle, so the lit position tells drivers the meaning. Signal green is also bluish, which makes it easier to separate from red for people with red-green colour deficiency.
Why is the middle light yellow or amber?
Amber was added as a warning between go and stop. Human eyes are most sensitive in bright light to yellow-green wavelengths around 555 nanometres, so amber, close to that peak, is very noticeable. Early electric signals used a buzzer instead; a three-colour sequence appeared in the United States around 1920.
What does red and amber together mean in the UK?
In the UK and several other countries, red and amber lit together mean 'stop, but get ready': green is about to appear. The sequence is red, red and amber, green, amber, red. Many countries, including India and the United States, go straight from red to green.
Sources
- Express & Star / PA — Ready, steady, go: 150 years since the world's first traffic light in London (2018)
- Cleveland Police Museum — Early electric traffic signals
- Google Patents — US1475024A, Traffic signal, Garrett A. Morgan (1923)
- MedlinePlus (US National Library of Medicine) — Color vision deficiency
- National Eye Institute — Color blindness
- Mental Floss — Why does Japan have blue traffic lights instead of green?
- UNECE — Convention on Road Signs and Signals (Vienna, 1968)
- W3C — WCAG 2.2, Success Criterion 1.4.1 Use of Color
- Checked October 25, 2026. Figures that change — fees, salaries, prices — are reviewed every six months; if something is out of date, tell us.
Where to go from here
- Road sign design — why stop signs are octagons
- Accessibility checklist — never use colour alone
- Everyday design scienceWhy are stop signs octagons? The design rules behind road signs around the worldStop signs are octagons so drivers recognise them by shape alone, even from behind. The history of road sign shapes, colours and lettering from 1923 to today.
- Everyday design scienceWhy is the keyboard QWERTY? What the patents, telegraphs and typing data actually showKeyboards are QWERTY because of an 1870s typewriter, not a plan to slow typists. What patents, telegraph history and 136 million keystrokes reveal about it.
- Everyday design scienceWhy is the save icon still a floppy disk? The icons that outlived their objectsThe save icon is a floppy disk because that is where files were saved when toolbars were designed. Why it survived, plus 10 icons that outlived their objects.
- Everyday design scienceWho invented infinite scroll? Aza Raskin built it in 2006, and has spent years warning about itAza Raskin invented infinite scroll in 2006 to save clicks, and now regrets it. How it works on the brain, what research shows and how regulators are acting.
- Everyday design scienceWhy the human body is shaped the way it is: the design logic behind every partWhy is every body part shaped the way it is? Domes protect, tubes carry, folds add surface, levers move. The design logic of 164 parts, and which can be moved.
- Design historyLogo evolution: how 20 famous logos changed, and why almost all of them got simplerLogo evolution of 20 brands from Coca-Cola (1886) to Air India (2023): who designed each, what changed, and the memory science behind simpler logos.
Get the ideas, not the noise.
Sign up with Google and we’ll send you short UX psychology tips by email — why people tap, stall and leave, and what to do about it. Unsubscribe anytime. Prefer something to keep? Get the free Laws of UX guide as a PDF.
The same science shapes your product.
A behavioral UX audit of your app or SaaS product: why users hesitate, stall and leave, and a prioritized fix list. Fixed price, 2–4 weeks.




