Handy Orchard

WCAG contrast checker

Check opaque sRGB text and background against WCAG AA and AAA using the unrounded ratio.

Your input

Outputs are cleared when the input changes.

Result

Enter your data or use the example, then run the tool.

Worked example

Black/white is 21:1; #777777/white is about 4.478:1 and fails normal-text AA despite rounding close to 4.5.

Method

Linearize sRGB channels, compute relative luminance and compare (lighter + 0.05) / (darker + 0.05) at full precision.

Limits

Opaque hex colors only. Large-text and non-text applicability requires separate checks; this is not a complete accessibility audit.

Sources

W3C minimum contrast

Related tools

CSS color space converterImage palette extractorPNG palette quantizer

Your inputs stay on this device. Only optional, consented page visits are measured. Input values, files, filenames and processing logs are not sent to Analytics.

When switching languages, text, settings and selected files are temporarily kept on this device. Transfers are removed after restoring; interrupted transfers are cleaned up on a later visit. Inputs and files are never uploaded.