Contrast checker
This free contrast checker shows whether your text colour is readable on your background colour. Enter two colours and you see the contrast ratio and whether the pair meets WCAG 2.2 level AA and AAA, for normal text, large text and buttons.
Free, no account needed
What contrast does my text need?
What the contrast checker calculates
- AA, normal text: at least 4.5:1
- AA, large text: at least 3:1
- AAA, normal text: at least 7:1
- AAA, large text: at least 4.5:1
- Buttons, icons and form borders: at least 3:1
How to read the result
Common contrast mistakes
- Light grey body text on white because it looks calm
- White text on a light brand colour, such as yellow, light green or orange
- Placeholder text in form fields used as the only label
- Text on top of a photo without a dark overlay
- Button borders and icons that blend into the background
- Assuming brand guidelines are an exception: only logos are exempt
What to do next
From 28 June 2025 the European Accessibility Act requires many online shops and services in the EU to meet accessibility requirements, which refer to WCAG level AA. Enough contrast is one of the most common gaps.
How to use the contrast checker
-
Enter the text colour
Pick it with the colour picker or type a hex code such as #1e3346.
-
Enter the background colour
Use the colour directly behind the text or button. Swap the colours with one click if needed.
-
Read the ratio and the checks
See the ratio and which AA and AAA levels pass for normal text, large text and buttons.
-
Adjust until it passes
Make the dark colour darker or the light one lighter and watch the sample until you see green.
Questions about colour contrast
What is a good contrast ratio?
What counts as large text?
Do logos have to meet the contrast rules?
Does my online shop have to meet these rules?
Is AAA required?
Related tools and guides
A website in your colours that stays readable
SitePack themes follow your own brand colours. Build your website from €15 per month, billed yearly, with EU hosting and SSL included. Try it free for 14 days without payment details.