Logocolorspicker.net

Color contrast checker

Large text, 24 px and up

Normal text. Most of a page looks like this, so its contrast matters the most.

Small print: terms, captions and footnotes.

Button

3.25Large text only

  • Normal textAA, 4.5Fail
  • Normal textAAA, 7Fail
  • Large textAA, 3Pass
  • Large textAAA, 4.5Fail
  • Icons and buttonsAA, 3Pass
Text color
Background color

Fix the contrast

Text on this color

All about #3091f2

WCAG color contrast checker

Enter the text color and the background color. The tool shows the contrast ratio and tells you whether the pair passes WCAG AA and AAA.

If it fails, one click under "Fix the contrast" changes the text or the background just enough to pass. The column on the right suggests other shades for the text. The Link button copies a link to your pair, so you can send it to a colleague.

Contrast ratio rules

WhatWhat countsAAAAA
Normal textSmaller than 24 px, or 18.66 px if bold4.5:17:1
Large textFrom 24 px, or 18.66 px if bold (18 pt and 14 pt)3:14.5:1
Icons, form field borders, chartsAnything people need to see to understand or use the page3:1-

Logos, decoration and disabled buttons have no minimum.

The ratio compares the brightness of two colors: 1:1 means they are the same, and 21:1 is black on white. The formula is (L1 + 0.05) / (L2 + 0.05), where L1 is the brightness of the lighter color and L2 that of the darker one.

What colors contrast with green, yellow, pink and more

Contrast can mean two things. The opposite color on the wheel stands out most in hue, but it is often hard to read as text. For text, what matters is the difference in brightness. Click a pair to check it above.

ColorOpposite colorBest text on it
Red#35e545, 2.50Black, 4.96
Orange#1300fb, 3.65Black, 8.85
Yellow#8935fd, 3.77Black, 15.05
Green#7d2f2e, 1.76White, 5.12
Teal#891f00, 2.15Black, 4.86
Blue#d0651e, 1.43White, 5.43
Purple#9fa21f, 2.99White, 8.20
Pink#86f062, 2.13Black, 6.86
Brown#416d6d, 1.31White, 7.60
Gray-Black, 5.31

For more opposites, spin the color wheel.

Why contrast matters

Low contrast is hard on people with low vision, older people and anyone using a phone in the sun. It is also the most common accessibility mistake: WebAIM tests a million home pages every year, and in 2026 it found low-contrast text on 83.9% of them.

The law often requires it too. In the United States, state and local government websites have to meet WCAG 2.1 AA by April 2027, or by April 2028 if they serve fewer than 50,000 people. ADA cases involving other sites often cite WCAG as well. In the European Union, the standard for accessible websites, EN 301 549, includes the WCAG rules.

Frequently asked questions

What is a good contrast ratio?

At least 4.5:1 for normal text and 3:1 for large text. That is WCAG level AA, which most laws and companies require. Level AAA asks for 7:1 and 4.5:1.

What contrast ratio does the ADA require?

The law itself sets no number. The federal rule for state and local governments uses WCAG 2.1 AA: 4.5:1 for normal text, 3:1 for large text, icons and buttons. Other sites usually follow the same numbers.

Does 4.49:1 pass?

No. The ratio must not be rounded up, so this tool rounds it down.

Which text is easier to read on a color, black or white?

The one with the higher ratio. On yellow, orange, light green and pink it is almost always black. On dark blue, purple, brown and dark green it is white.

Is contrast enough for color blindness?

A good ratio helps everyone, because it does not depend on hue. But do not rely on hue alone: add a word or an icon to a red or green message.

How do I check the contrast of a website?

In Chrome or Edge, click the eyedropper in both fields, then click the text and the background in another window. Pick the darkest pixel of a thick letter, because the edges of letters are blended with the background.

More color tools

Color Contrast Checker: WCAG AA & AAA Contrast Ratio