Color Code Tools

WCAG color contrast checker

Choose a text color and a background color.

The quick brown fox jumps over the lazy dog

WCAG thresholds

WCAG 2 level AA asks for 4.5:1 for normal text and 3:1 for large text (about 24px, or 19px bold). Level AAA asks for 7:1 and 4.5:1. The ratio is computed from relative luminance as defined in the standard.

Questions

What contrast ratio do I need?

At least 4.5:1 for normal body text to meet WCAG AA.