3 ms·
I learned this as a young developer writing status pages. I had a colour-blind colleague, so text on green/yellow/red. Typically white text works better on red
by ta1243 1y ago
I learned this as a young developer writing status pages. I had a colour-blind colleague, so text on green/yellow/red.
Typically white text works better on red.
- seanwilson 1y agoReds people choose are usually between dark and light, which doesn't contrast particularly well on anything because for good contrast you need a dark color vs a light color. Green, yellow, red or whatever hue is fine, as long as it's dark or light enough. Colorblind and non-colorblind people can see how dark or light a color is (luminance), but they might not agree on the hue. That's why WCAG contrast checks require luminance contrast and not hue contrast. It's best to use a contrast checker because it's not always intuitive how dark or light a color is e.g. yellow and lime are almost as light as white.