Lesson 4 of 7 · 12 min
Contrast and accessible color
Goal:Use value and contrast so color works for everyone, including people who see color differently.
OR THE WORDS DON'T EXIST
uxuiopen.comHue gets the attention, but value (how light or dark a color is) does most of the work. Contrast in value is what makes text readable, buttons visible and charts understandable. If a design only works in color, it doesn't really work.
In color
In grayscale (value only)
The yellow and light blue look completely different in color, but almost the same in value. Put text on either and the contrast with white or black is similar.

The grayscale test: three of four channels become nearly identical grays. The legend now relies on color alone.
The rules that keep color readable
- Text needs a contrast ratio of at least 4.5:1 with its background; large text (about 24px, or 19px bold) needs at least 3:1.
- Buttons, form borders, icons and chart elements need at least 3:1 against what's next to them.
- Never use color as the only way to show something. Add a label, an icon, a pattern or a change in shape.
About 1 in 12 men and 1 in 200 women have a color vision deficiency, most often difficulty telling reds and greens apart. Red-and-green status lights are one of the most common accessibility mistakes in interfaces.

Red and green dots look alike with deuteranopia (simulated). The fix adds icons and words.
Test it yourself. Pick colors, read the ratio, then see how they look in grayscale and to people with different color vision.
Change the text and background colors. Try the presets, grayscale and the vision simulations.
Simulate color vision
Simulations are approximations for checking designs, not a picture of anyone's actual experience.
Your table is booked
We'll hold it for 15 minutes. Running late? Let us know and we'll do our best to keep it.
Manage booking- ✓ Body text passes
- ✓ Large text passes
- ✓ UI parts passes
Make color accessible
Check every text color
Use a contrast checker on each text and background pair, including text on images and buttons.
Do the grayscale test
Turn your design gray. Is everything still clear: hierarchy, states, charts?
Add a second signal
Pair color with icons, labels, underlines or patterns.
Check borders and icons
Inputs and icons need 3:1 against their surroundings too.
Simulate
Use a color-vision simulator (Figma has plugins for it) on key screens.
A form shows invalid fields with a red border and nothing else. What's the best fix?
Audit an app's colors
Find real contrast problems in the wild.
- 1Screenshot three screens from an app you use daily.
- 2Check five text colors with a contrast checker and note the ratios.
- 3Turn each screenshot to grayscale. Note anything that stops making sense.
- 4Look for any place where color is the only signal.
- 5Share your findings and one fix.
Read next
- WebAIMContrast checkerPaste two colors, get the ratio.
- W3C · WCAG 2.2Understanding contrast (minimum)Where 4.5:1 and 3:1 come from.
- W3C · WCAG 2.2Understanding use of colorWhy color can't be the only signal.
- W3C · WCAG 2.2Understanding non-text contrastThe 3:1 rule for buttons, inputs, icons and charts.
- Colour Blind AwarenessAbout colour blindnessTypes of color vision deficiency and how common they are.