ToolJovia
Colors

Color Contrast Checker

Calculate WCAG sRGB contrast and report AA/AAA text thresholds for two opaque colors.

✓ Browser-local processing

Loading tool…

How to use Color Contrast Checker

Compare a foreground and background using WCAG relative luminance. Decisions use the unrounded ratio, with separate results for normal text and qualifying large text.

  1. Enter opaque foreground and background colors in a supported sRGB form.
  2. Select Run tool to calculate luminance contrast and text thresholds.
  3. Review the result, then copy it or download the generated file.

Good to know

  • No transparency, gradients, image backgrounds, APCA, or full-page accessibility audit.
  • Large text means at least 18 pt regular or 14 pt bold under WCAG. Text size, font rendering, focus indicators, and other requirements need separate review.

Read text contrast thresholds with a black-and-white pair

Enter #000000 as the foreground and #FFFFFF as the background. This opaque sRGB pair has a 21:1 contrast ratio, so it passes the listed WCAG AA and AAA text-contrast thresholds.

Opaque sRGB colors

Foreground: #000000
Background: #FFFFFF

Expected contrast checks

ratio: 21
AA_normal: true
AA_large: true
AAA_normal: true
AAA_large: true
Try this in the tool

Common questions

Does a displayed 4.50 automatically pass AA?

The decision uses the original ratio. Rounding a value below 4.5 must not turn a failure into a pass.

Keep going with related tools

All colors →