Nearly 4 Out of 5 Built-In Web Colors Are Too Light for White Text

We tested all 148 official CSS color names (like tomato, gold, and dodgerblue). 116 of 148 (78.4%) are too bright to hold readable white text.

2026 Key Statistics & Quick-Cite Summary

Short version: Out of all 148 official web color names, 116 (78.4%) are too light for white text. Almost every built-in yellow, orange, and green fails — only 32 dark shades like navy, purple, and darkgreen actually work behind white button labels.

  • 78.4% — Built-in web color names too bright for white text (116 of 148) (ColorQueue Test of All 148 W3C Names)
  • 23 of 24 — Named oranges & yellows that fail white text (95.8%) (W3C Color Name Breakdown)
  • Only 32 — Built-in web color names dark enough for crisp white text (Standard Web Contrast Check)

Every web browser comes with 148 built-in color names like "tomato," "coral," "lime," and "skyblue." We tested all 148 against white text — and 116 of them (78.4%) fail basic readability before you even start designing.

Why Browser Color Names Are Stuck in the 1980s

When you type background: coral or background: lime in CSS, you’re using a quirky list of 148 color names invented back in the 1980s for early computer monitors. Nobody checked those colors for readability.

When we tested every single one, 116 out of 148 (78.4%) failed basic readability behind white text. Even classic names like red, green, orange, and dodgerblue aren’t dark enough for crisp white button labels.

All 148 Built-In Web Color Names: White Text vs. Black Text

How many color names in each color family work with white text vs. black text (zero work with both).

All 148 Built-In Web Color Names: White Text vs. Black Text
ItemWorks With White TextNeeds Black Text
Blues & Cyans (32)9 colors23 colors
Grays & Neutrals (26)3 colors23 colors
Greens & Teals (25)3 colors22 colors
Oranges & Yellows (24)1 colors23 colors
Reds & Corals (23)7 colors16 colors
Purples & Pinks (18)9 colors9 colors

Data note: All 148 official CSS Color 4 named colors tested against #FFFFFF and #000000 using standard 4.5:1 readability rules.

Yellows, Oranges, and Greens Fail Almost Every Time

If you pick a built-in orange or yellow name, 23 out of 24 (95.8%) fail with white text. Built-in greens aren’t much better: 22 out of 25 (88%) fail unless you pick super dark shades like darkgreen.

Purples and pinks are the only balanced group on the list — splitting right down the middle with 9 dark white-safe colors and 9 light black-safe colors. You can browse all 148 names and their exact codes in our Web Color Directory.

Why Beginners Keep Falling Into This Trap

Coding tutorials, school web projects, and quick website builders love using fun names like tomato or skyblue because they’re easy to remember. When those quick prototypes turn into live buttons with white text, they instantly fail readability checks.

A Simple Rule for Picking Button Colors

Skip built-in browser color names when designing buttons or badges. Pick a clean custom shade and check it in our Contrast Checker — or if you love bright colors like yellow and sky blue, switch the button text from white to dark charcoal.

Cite This Study

ColorQueue (2026). "Nearly 4 Out of 5 Built-In Web Colors Are Too Light for White Text." https://colorqueue.com/guides/w3c-css-named-colors-wcag-contrast-audit/

Research Sources & Primary Citations

Open Web Color Name Explorer

Featured Color Swatches & HEX Codes

  • #FF6347sRGB HEX Specification
  • #FFD700sRGB HEX Specification
  • #663399sRGB HEX Specification
  • #008080sRGB HEX Specification
  • #2E8B57sRGB HEX Specification

Frequently Asked Questions

Wait — even basic CSS "red" fails with white text?

Yes! Standard pure CSS red (#FF0000) scores 4.0:1 against white, falling short of the 4.5:1 standard for normal-size text. Slightly darker crimson (#DC143C) passes easily.

Why can’t a single named color pass with both white and black text?

There’s only a razor-thin middle brightness where both white and black hit 4.5:1, and none of the 148 old browser color names happen to land inside it.

What should I use instead of CSS color names?

Use tuned hex or OKLCH color codes from a real color scale (like a 50-to-950 ramp) so you always have a dark shade for white text and a light shade for dark text.