You've been staring at the same design all day, it looks clean, and you finally hit send. Then the client opens it on a phone in sunlight and asks why the body text is unreadable, or their team runs an accessibility check and the report comes back dotted red. Suddenly you're on a free revision, reworking a file you thought was finished. A two-minute contrast test before delivery catches most of this, and this post is that test.
The short version: check every text color against the background behind it with a contrast checker, aiming for at least 4.5:1 for normal text and 3:1 for large text, and 3:1 for icons, buttons, and form borders. Test the worst spot, not the average one. That's it. The rest of this post is the details, the traps, and a checklist you can screenshot.
Why this costs you money on paid work
Unreadable text is the kind of feedback that comes back with no specifics, just "the text is hard to read." You then guess what the client meant, change something, and repeat. Contrast numbers turn that loop into one fix: you can show the ratio, show the minimum, and change the exact color that failed.
There's also a compliance angle. WCAG is the international standard for web accessibility, and it's been adopted as ISO/IEC 40500 and referenced by rules like the European EN 301 549 (W3C, WCAG 2 Overview). Clients who sell to governments or large companies may run an accessibility audit against these numbers before launch. A design that fails contrast is a design that bounces back to you, sometimes weeks after you invoiced.
And it's not only about audits. People read on cracked screens, cheap panels, and screens at 30% brightness in direct sun. Contrast that looks fine on your monitor at full brightness can wash out on all of those, and the fix is usually one color change, not a redesign.
The actual numbers
WCAG 2.x (versions 2.0 through 2.2 share these thresholds) sets contrast minimums at Level AA, the level most policies target:
- Normal text: at least 4.5:1 against its background (WCAG 2.2, Contrast Minimum)
- Large text: at least 3:1
- Icons, buttons, form inputs, and other UI components: at least 3:1 against adjacent colors (WCAG 2.2, Non-Text Contrast)
"Large text" has a precise definition, not a vibe. The spec means text that is 18 point (about 24px) or larger in normal weight, or 14 point (about 18.7px) or larger in bold (WCAG 2.2, Contrast Minimum). A 16px headline at regular weight is normal text and needs 4.5:1. That trips a lot of designers who assume anything big gets the easier threshold.
Two useful exceptions: text that's part of a logo or brand name has no contrast requirement, and purely decorative text has no requirement either. So your client's logo is safe; their nav links are not. If a client asks for AAA (some contracts do), the bar rises to 7:1 for normal text and 4.5:1 for large text (WCAG 2.2, Contrast Enhanced).
Free tools that do the checking
The easiest checker is the WebAIM Contrast Checker. Paste a foreground color and a background color as hex codes, and it shows the ratio plus instant pass/fail for AA and AAA, normal and large. No signup, works on your phone. There's also a Link Contrast Checker for the specific case of links inside body text.
To get the hex codes from your design file, use the eyedropper in your design tool's color picker and sample both the text color and the background behind it. If you're checking a flat image or a screenshot, most color pickers let you eyedrop straight from an image file on your screen, so you can sample from the exported PNG exactly as the client will see it. WebAIM's guide to evaluating contrast lists eyedropper tools for exactly this. Many design tools also have contrast-checking plugins that read ratios directly on your canvas; search the plugin store for "contrast" and pick one with good reviews.
One rule when sampling: sample the actual pixel behind the text, not the color you assigned to the layer. If text sits on a photo or gradient, the pixel under a word is often a blend, not the palette value.
The traps that eat good designs
Light gray body text. The classic. #999999 on white is about 2.8:1, which fails hard, yet it shows up in "clean" layouts all the time. #767676 on white comes out at about 4.54:1, so a gray only a little darker passes. When in doubt, push body text toward black.
Text on photos and gradients. Your photo's average brightness is irrelevant; what matters is the pixel behind each word. Eyedrop the lightest patch under the headline and test that, because that's the worst spot. If it fails, add a scrim: a subtle dark overlay behind the text area, or a bottom-edge gradient that deepens toward the text. Test again after adding it; a light scrim over a bright sky often isn't enough on the first try.
Brand colors that fail. This is the uncomfortable one, because the client's brand color is often the button color or the accent. Don't swap the hue; darken the shade. Move the same color down the lightness scale until it clears the threshold. A hue-preserving tweak keeps the brand recognizable while making the text readable, which is the whole game.
Color as the only signal. If "required fields are red" or "the error state is the pink one" is your only difference, people who can't distinguish those hues lose the information. Add an icon, a label, or an underline so the meaning survives without color.
The 2-minute routine before you deliver
Screenshot this:
CONTRAST PASS: do before every delivery (2 min)
1. List your text styles: body, headings, captions, buttons, links
2. For each, eyedrop text color + background, paste both into
webaim.org/resources/contrastchecker
3. Body text: needs 4.5:1. Large text (18pt/24px, or 14pt bold):
needs 3:1
4. Buttons, icons, input borders: need 3:1 against adjacent colors
5. Text on a photo or gradient: eyedrop the WORST spot, test that
6. Any failure: darken the shade (keep the hue) or add a scrim,
then re-test
7. Note the final ratios in your delivery message. Ratios in the
handoff prevent the round-trip
Once you've done it a couple of times it goes fast: the checker gives you a number in one paste, and you only slow down on the pairs that fail. The ratios in your delivery message are the part most freelancers skip and the part that saves the most arguments, because "the teal button reads 4.9:1, above the WCAG AA minimum" answers a client's doubt before they have it.
When the client's brand color is the problem
Sometimes the check tells you the client's own brand color fails for body text. Handle it with numbers, not taste. Something like:
Hi [name], I ran the contrast numbers on the brand teal: it
comes out at [ratio]:1 against white, below the 4.5:1 that WCAG
AA requires for body text (link:
https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html).
Two options that keep the teal: use a darker shade of it,
[darker hex], which hits [new ratio]:1, or keep the original
teal for large headings and buttons only, where 3:1 applies.
Happy to mock up either one today.
That message works because it gives the client a compliance citation instead of a designer's opinion, and gives them a choice instead of a problem. Nobody has to lose the argument, and the text ends up readable either way. If the brand team pushes back, offer to keep their exact color for the logo, which the spec exempts (WCAG 2.2, Contrast Minimum).
The same skill pairs well with turning vague client notes into concrete work. If you've ever gotten "make it pop" back from a client, this post on turning vague feedback into a fix list covers that side of the same job.
If this saved you a revision, a tip on the post is appreciated.






Latest comments
0