The accessibility rule behind why some text-on-background combinations are genuinely hard to read, and how it's actually measured.
Light gray text on a white background might look clean in a mockup, but for a meaningful number of visitors — including people with low vision, older users, or anyone reading on a phone in bright sunlight — it can be genuinely difficult or impossible to read. WCAG contrast guidelines exist to put a number on that problem instead of leaving it to guesswork.
WCAG (Web Content Accessibility Guidelines) defines a mathematical formula that compares the relative brightness of two colors — typically text and its background — and expresses the difference as a ratio, from 1:1 (identical, no contrast at all) up to 21:1 (pure black on pure white, maximum contrast).
WCAG defines two main conformance levels:
AA is the level most websites aim for and the one most commonly referenced in accessibility requirements. AAA is stricter and not always achievable with a brand's specific colors, but it's worth aiming for on your most important content, like body text and primary calls to action.
The Color Contrast Checker calculates the exact ratio between any two colors you pick and tells you whether the combination passes AA and AAA for both normal and large text.
If a color combination is close but not quite passing, try adjusting just the lightness of the text color rather than changing its hue entirely — the Color Shades & Tints Generator can help you find a darker or lighter version of the same color quickly.
Good contrast isn't just about meeting a checklist — it directly affects how easily anyone can read your content, especially on lower-quality screens, in bright light, or at smaller text sizes. Treating contrast as a basic usability requirement rather than a legal checkbox tends to produce better design decisions overall.
Text at least 18pt (24px), or at least 14pt (about 18.66px) if it's bold — large text has a lower contrast requirement than normal body text.
Not necessarily — AA is the standard most sites target. AAA is a stronger goal worth applying where practical, especially for primary content.
Yes, in principle — text overlaid on a photo needs the same readability consideration as text on a solid background, though it's harder to guarantee since the image content varies.
You don't need a trained eye to pick colors that work together. You need to know a handful of relationships on the color wheel.
Three terms designers use constantly and mix up just as often. Here's the precise difference, with a clear way to remember it.
Two nice colors and a straight blend between them can still come out looking gray and lifeless in the middle. Here's why, and the fix.
Turning one color you like into a full, working set — text, background, accents, and everything that needs to pair with it.