Skip to content
Journal
Tutorials11 Aug 20264 min read

Colour contrast for students: the 4.5:1 rule

What WCAG contrast ratios mean, where the numbers come from, and how to check your work in seconds.

4.5:1Tutorials

The Web Content Accessibility Guidelines (WCAG) measure contrast as a ratio between the relative luminance of text and its background, from 1:1 (no contrast) to 21:1 (black on white).

The numbers to remember

Level AA asks for at least 4.5:1 for normal text and 3:1 for large text (roughly 24px regular or 18.66px bold and above). Level AAA raises that to 7:1 and 4.5:1. Interface components and meaningful graphics need 3:1 against their surroundings.

Mid-tone brand colours are the usual trap: a vivid blue can pass with white text but fail with black, or the reverse.

Use the contrast checker in our Tools to test any pair, then adjust value (lightness) before you touch hue.

Design Token Pass

Get posts, AI images and website sections designed by the studio. Starter Pack of 10 tokens from $100.

See pricing
Copied