DevToolBox
Color Tools

Color Contrast Checker

Check foreground and background contrast against WCAG AA and AAA.

Processing runs locally in your browser whenever practical.

Foreground

Background

14.63:1

contrast ratio
AA normal text: PassAA large text: PassAAA normal text: PassAAA large text: Pass
Live preview

The quick brown fox jumps over the lazy dog.

Large heading sample

Body text at normal size for readability checks.

How to use

  1. 1Pick or type foreground and background hex colors.
  2. 2Review the contrast ratio and WCAG pass/fail results.
  3. 3Swap colors or adjust until requirements pass.

Notes

  • Contrast is computed with WCAG 2.x relative luminance.
  • Use normalized #RRGGBB hex values for consistent results.

Behavior details

  • AA normal text requires at least 4.5:1.
  • Large text thresholds follow WCAG definitions.

Frequently asked questions

What is the Color Contrast Checker?

The Color Contrast Checker is a free DevToolBox utility that processes data locally in your browser.

Are my inputs stored?

No. This tool processes data in your browser and does not upload your input to a DevToolBox server.

Do I need an account?

No account is required to use this tool.

Which WCAG thresholds are used?

AA normal text ≥ 4.5:1, AA large text ≥ 3:1, AAA normal ≥ 7:1, AAA large ≥ 4.5:1, using relative luminance from WCAG 2.x.

Related Color Tools

View category