Skip to main content
HandyWeb

Color Contrast Checker (WCAG)

Work out the contrast ratio of a text and a background color, see whether it passes WCAG AA and AAA, and get the closest readable color.

Runs on your device.

How to Use It

  1. Type or pick the text and background colors.
  2. Read the ratio and the AA and AAA results.
  3. If it fails, use the suggested color.

Questions and Answers

What is the difference between AA and AAA?

AA is the accepted minimum: 4.5:1 for normal text and 3:1 for large text. AAA is stricter: 7:1 and 4.5:1.

Good to Know

The WCAG 2 method is used, not APCA. A transparent text color is drawn over the background; a transparent background is treated as solid.

Source code of this toolReport a problem on GitHub