Accessibility Tools

WCAG 2.2 Color Contrast Calculator

Compare foreground and background colors with HEX or RGB values to calculate contrast ratio instantly. Use this calculator to validate text contrast against WCAG 2.2 thresholds for AA and AAA conformance.

Enter colors

Results

21.00:1

Contrast ratio between #000000 and #FFFFFF.

The quick brown fox jumps over the lazy dog.

Sample text preview in your selected colors.

WCAG 2.2 Conformance

WCAG text contrast requirements are defined at AA and AAA. Level A does not define text contrast thresholds.

Small Text AA Pass. Small Text AAA Pass. Large Text AA Pass. Large Text AAA Pass.

Small text

AA

Requires 4.5:1 or higher

Pass
AAA

Requires 7:1 or higher

Pass

Large text

AA

Requires 3:1 or higher

Pass
AAA

Requires 4.5:1 or higher

Pass

WCAG 2.2 color contrast guidance

Use these official references when documenting accessibility conformance and evaluating text and UI component contrast requirements.