Check text contrast against backgrounds for WCAG AA & AAA compliance
The Luma Checker helps designers and developers ensure text readability by calculating the contrast ratio between foreground and background colors. It uses the latest WCAG 2.2 formulas and supports both solid colors and images. All processing is done locally in your browser — your colors never leave your device.
All calculations run locally on your device for maximum speed.
Your color choices and uploaded images never leave your device.
Luma is the perceived brightness of a color, weighted by human eye sensitivity (green contributes most, blue least). The WCAG contrast ratio formula uses relative luminance, which is derived from sRGB values. For accessibility, WCAG AA requires a minimum contrast ratio of 4.5:1 for normal text, and WCAG AAA requires 7:1. Large text (18px+ bold or 24px+ regular) can meet AA at 3:1.
Our tool computes the exact ratio and clearly shows whether your combination passes AA and AAA. You can even test against image backgrounds — the tool extracts the average color to provide accurate results.
Luma is the brightness component of a color as perceived by the human eye. It gives a more accurate measure of brightness than simple average RGB because our eyes are more sensitive to green and yellow than blue.
Yes, you can upload any JPEG, PNG, or GIF. The tool will sample the average color of the image to compute the contrast ratio — perfect for testing text over photos.
Absolutely. All processing happens in your browser. No color data or images are ever sent to our servers.
Yes! The tool works on all devices and the contrast ratios apply equally to mobile, tablet, and desktop interfaces.