Skip to content
FreeKitX

WCAG 2.2 Color Contrast Checker & Remediation - FreeKitX

Bookmark this tool

Save this page in your browser

On a phone, choose Add Bookmark from your browser’s Share or menu.

Evaluate color contrast ratios against WCAG 2.2 AA/AAA guidelines with real-time in-gamut color remediation in browser.

Contrast checker is ready. Enter or select colors to evaluate compliance.
Free · Local Processing

WCAG 2.2 Contrast Checker

Color Selection

Popular Accessible Presets
Contrast RatioEnhanced Contrast (Passes AAA)
14.63:1

The relative luminance ratio calculated according to the official W3C WCAG 2.2 formula (L1 + 0.05) / (L2 + 0.05).

Normal Text✓ AA
Large Text✓ AA
Graphical Objects & UI✓ AA

WCAG 2.2 Conformance Outcomes

Normal Text

16px / Regular

Body text and inputs under 18pt (24px) or 14pt (18.66px) bold

Level AA (>= 4.5:1)Pass
Level AAA (>= 7.0:1)Pass

Large Text

>= 24px / 18.66px bold

Headings and text at least 18pt (24px) or 14pt (18.66px) bold

Level AA (>= 3.0:1)Pass
Level AAA (>= 4.5:1)Pass

Graphical Objects & UI

SC 1.4.11

Form borders, button outlines, and icons (WCAG 2.2 SC 1.4.11)

Level AA (>= 3.0:1)Pass
* WCAG SC 1.4.11 defines non-text contrast at Level AA only (no AAA criterion).

Live Preview

Normal Body Typography (16px / 400)

Good contrast is fundamental to inclusive web design. It ensures content is legible under varied lighting conditions and for people with low vision or color vision deficiencies.

Large Heading Typography (24px / 700)

Clear & Accessible Typography for Everyone

Interactive UI Components (WCAG SC 1.4.11)
Status Indicator

Smart Color Remediation & Suggestion Assistant

Need passing colors? Hold either foreground or background fixed to calculate the nearest in-gamut counterpart that satisfies your target ratio while minimizing color distance.

Hold Fixed
Target Conformance Ratio

Your current color pair already meets or exceeds the selected target ratio! (14.63:1 >= 4.5:1)

Direct answer

The WCAG 2.2 color contrast ratio measures relative luminance difference between foreground text and background surfaces on a mathematical scale from 1:1 (zero contrast) to 21:1 (maximum contrast).

How to use this tool

1

Select Foreground & Background Colors

Enter HEX, RGB, or HSL color codes or pick colors using the integrated color selector.

2

Audit WCAG 2.2 AA & AAA Thresholds

Review automatic compliance ratings for normal text (4.5:1 AA / 7.0:1 AAA), large text (3.0:1 AA / 4.5:1 AAA), and UI components (3.0:1 AA).

3

Remediate with Smart Suggestions

Click suggested nearest-in-gamut color adjustments to fix failing pairings while minimizing perceptual shift (delta E).

How WCAG 2.2 Color Contrast and Relative Luminance Work

Relative luminance (L) is computed by linearizing sRGB color channels (R, G, B) and weighting them according to human spectral eye sensitivity: L = 0.2126 * R_linear + 0.7152 * G_linear + 0.0722 * B_linear. The ratio divides lighter luminance L1 by darker luminance L2 with an ambient flare offset (+0.05).

Contrast Ratio = (L1 + 0.05) / (L2 + 0.05)
  • Normal Body Text: Requires at least 4.5:1 for Level AA and 7.0:1 for enhanced Level AAA.
  • Large Heading Text (18pt / 24px or 14pt bold): Requires at least 3.0:1 for Level AA and 4.5:1 for Level AAA.
  • UI Controls & Graphical Components: Require at least 3.0:1 for Level AA under WCAG SC 1.4.11.

Practical examples

Brand Blue on White Surface Audit

Input: Foreground: #2563eb (Royal Blue), Background: #ffffff (Pure White)

Output: Contrast Ratio: 4.87:1 — PASS Level AA (Normal Text), PASS Level AAA (Large Text)

Satisfies baseline Level AA requirements for body text and Level AAA for large titles.

Limitations

  • Evaluates flat color pairings; complex background gradients or semi-transparent patterns requires checking worst-case luminance points.
  • Provides mathematical accessibility evaluations; formal accessibility audits also require testing typography, focus states, and screen reader markup.

Frequently asked questions

What is the difference between WCAG Level AA and Level AAA?

Level AA is the globally recognized standard benchmark for commercial and government websites (4.5:1 for body text). Level AAA is an enhanced standard (7.0:1 for body text) designed to accommodate users with significant vision loss.

Does this tool upload my design colors to any server?

No. All luminance linearizations, ratio calculations, and color remediation algorithms execute locally inside your browser.

Authoritative References & Standards