The Quick Brown Fox
Jumps over the lazy dog. This sample shows your colors at different text sizes.
Small text: 11px caption
What is a color contrast checker?
A color contrast checker measures how much a text color stands out from its background, as a ratio from 1:1 to 21:1. WCAG 2.1 sets minimum ratios so that people with low vision can read the text. You need the check when you choose brand colors, buttons or text on images.
How to check color contrast
- Set the Foreground (Text) color with the picker or a HEX value.
- Set the Background color the same way.
- Read the Contrast Ratio and the result for each WCAG level.
- Click Swap to see the colors the other way round in the preview.
What ratio do I need?
- AA, normal text: 4.5:1. This is the minimum for most websites.
- AA, large text and UI parts: 3:1. Large text is 18pt (24px), or 14pt (about 18.7px) bold.
- AAA, normal text: 7:1.
- AAA, large text: 4.5:1.
Frequently Asked Questions
What is a contrast ratio?
It compares the brightness (relative luminance) of two colors. The scale goes from 1:1 (the same color) to 21:1 (black on white). A higher ratio is easier to read.
What does WCAG mean?
WCAG means Web Content Accessibility Guidelines. The W3C publishes them. They set minimum contrast ratios so that people with low vision or color blindness can read text.
What is the difference between AA and AAA?
AA needs 4.5:1 for normal text and 3:1 for large text. Most websites aim for AA. AAA needs 7:1 for normal text and 4.5:1 for large text.
What counts as large text in WCAG?
Text of at least 18pt (24px) at regular weight, or at least 14pt (about 18.7px) in bold.
Can I check text on a photo?
Not directly. The tool compares two flat colors. For text on a photo, test the text color against the lightest and the darkest area behind it.