← Free tools

Browser-only accessibility check

Color contrast checker.

Compare foreground and background colors against common WCAG 2.2 thresholds. No color values are sent to TechTenstein.

The quick brown fox jumps over the lazy dog.
Contrast ratio: 13.48:1Enter two six-digit hex colors to calculate.

Method and source

The calculator converts sRGB channel values to relative luminance and applies the WCAG contrast-ratio formula. Threshold labels are based on WCAG 2.2 Success Criterion 1.4.3 and Success Criterion 1.4.11. Always review the complete applicable standard and test the implemented interface.

WCAG 2.2 AA contrast thresholds

What you are checkingMinimum ratioSuccess criterion
Normal text4.5:11.4.3 Contrast (Minimum), AA
Large text3:11.4.3 Contrast (Minimum), AA
Meaningful interface components and graphical objects3:1, where the criterion applies1.4.11 Non-text Contrast, AA

How the ratio is calculated

Each six-digit hex color is split into its red, green and blue sRGB channels. The calculator converts those channels to relative luminance and divides the lighter luminance plus 0.05 by the darker luminance plus 0.05. The calculation runs in your browser, so no color values are sent to TechTenstein.

Where contrast fits in a wider review

Contrast is one check, not full conformance. The accessibility quick review lists the keyboard, zoom, screen-reader, focus and task-based tests that still need people, and the free website audit tool checks landmarks, language, image alternatives, link names and form labels. For interface work with accessibility requirements built into the scope, see TechTenstein’s UI/UX design service.