Design & UX

What is colour contrast?

Colour contrast is the difference in luminance between foreground elements, such as text and icons, and their background. Enough contrast keeps content readable for everyone, including people with low vision or using screens in sunlight.

The WCAG ratios

At level AA, normal text needs a contrast ratio of at least 4.5 to 1 and large text 3 to 1; interface components and graphics that convey information need 3 to 1. Light grey text on white is the most common failure.

Checking and fixing

Use a contrast checker or browser developer tools, darken text colours rather than changing the whole palette, and avoid placing text over busy images without an overlay.

Questions, answered

Very high contrast can tire some readers; aim to meet the ratios comfortably rather than maximally.

Yes, if it conveys information, which is one reason to use visible labels instead.

By the Stegnor team · Updated