Color Psychology
The color of sunshine, caution and optimism — and the technical reason it's the hardest color in the UI palette.
01
Yellow is the most luminous color the human eye can see. On a screen, pure yellow at maximum brightness appears brighter than pure white — because yellow triggers both the red and green receptors simultaneously.
That's why yellow is used for highlighters, taxis and warning signs: it's the color most likely to be noticed first.
02
Pure yellow has a very low contrast ratio against white — you cannot place white text on yellow and pass WCAG. Black text on yellow works, but looks visually dated.
The practical solution: use yellow as an accent (badges, highlights, micro-interactions), not as a text color or primary button color.
03
Yellow is the star of highlights: a yellow underlay behind text, a yellow dot on a chart, a yellow star as a "favorite" indicator. In editorial design, yellow pull-quotes and sidebar backgrounds feel optimistic and fresh.
Yellow is also dominant in food branding — mustard, lemon, honey, curry — because of its appetite-stimulating warmth.
Continue Reading
Explore yellow in the encyclopedia, or use it as an accent in the palette generator.