← South Fork Apps

Color Contrast Checker

Large Text (18pt / 14pt Bold)
Normal body text at standard size. The quick brown fox jumps over the lazy dog.
UI Component
—
Contrast Ratio
AA Normal
—
Requires 4.5:1
AA Large
—
Requires 3:1
AAA Normal
—
Requires 7:1
AAA Large
—
Requires 4.5:1
About this tool

Color Contrast Checker

Color Contrast Checker measures the contrast ratio between a foreground and background colour and tells you whether it passes WCAG AA and AAA at normal and large text sizes.

How to use it

  1. Set the foreground (text) colour with the picker or by typing a hex value.
  2. Set the background colour the same way.
  3. Read the ratio and the pass or fail result for each WCAG level.

What the thresholds actually are

Contrast ratio runs from 1:1 (identical colours) to 21:1 (pure black on pure white). It is computed from the relative luminance of the two colours, not from how different they look, which is why two vivid colours can be visually distinct and still fail.

WCAG AA requires 4.5:1 for normal text and 3:1 for large text, where large means at least 18pt, or 14pt bold. AAA raises those to 7:1 and 4.5:1. Interface components and meaningful graphics need 3:1 against their surroundings.

Worked example

Common results:

  • Black on white21:1, passes everything
  • Mid grey #767676 on white4.54:1, just passes AA normal
  • Light grey #999999 on white2.85:1, fails AA at any size

Result: The popular light-grey-on-white look for secondary text fails AA, which is why so many redesigns get accessibility complaints.

When it helps

  • Checking a colour pair before committing it to a design system.
  • Fixing an accessibility audit finding.
  • Choosing a text colour that works on a brand background.
  • Testing placeholder and disabled states, which are usually the worst offenders.

Common mistakes

  • Testing only body text. Buttons, form borders and icons carry their own 3:1 requirement.
  • Assuming a large ratio means readable. Contrast is necessary but does not fix a tiny font or a bad typeface.
  • Testing against the wrong background. Text over an image or a gradient has to pass against the worst part of it.
Color Contrast Checker interface preview
Screenshot of the live Color Contrast Checker interface.

v1.0