Color Contrast Checker
Use this local WCAG color contrast checker to compare a text color and background. Preview the pair and check AA and AAA for normal and large text.
- Free
- Works Offline
- No Uploads
How to Check Text Contrast
- Open the HTML, review Security Check, then select Continue.
- Enter both colors or choose Open Sample.
- Select a text scenario. For transparency, enter an explicit opaque backdrop.
- Select Check Contrast, then review the preview and WCAG 2.2 decisions. Use Calculation Details or Download Report to keep the precise result.
Check the Threshold for Your Text
- Enter the text and background colors or open the example in the WCAG color contrast checker tool.
- Choose normal, large regular or large bold text for the preview and compare both sets of thresholds.
- Review the exact result in Calculation Details or download the JSON report.
Formats and Compatibility
| Input | Hex or numeric RGB/RGBA in sRGB. Enter an explicit opaque backdrop for translucent colors. |
|---|---|
| Output | A browser-based preview and WCAG 2.2 text contrast report with all four AA and AAA decisions. |
| Browser | A modern browser with local file support. |
| Scope | Two explicit sRGB colors. Enter an opaque backdrop when either color is translucent. |
| Operating Systems |
Local Processing Without Uploads
Use the WCAG color contrast checker without uploading files. It reads just the colors you enter, with no upload.
Select Open Sample to see the workflow with the included example.
Explicit Colors and Transparency
Enter #RGB, #RRGGBB, hex with alpha, rgb() or rgba(). A translucent background is composited over the supplied backdrop before the text layer.
Preserve the Decision
Download the original color inputs, effective channels and luminance, unrounded ratio and threshold results as JSON.
Frequently Asked Questions
How do I use the WCAG color contrast checker offline?
Extract the Tool ZIP and open ColorContrastChecker.html in a modern browser.
Where is the free WCAG color contrast checker download?
Use Download Tool ZIP for the app or Download Report in the checker for a JSON result.
Can I use the WCAG color contrast checker in browser tabs?
Yes. The workbench runs in a modern browser from a local HTML file or the Local Studio workspace.
Looking for a WCAG color contrast checker for HTML files?
Enter the explicit sRGB text and background colors used in your page. This workflow checks a supplied pair, with no page or file inspection.
What counts as large text?
Use 18 pt or larger for regular type, or 14 pt or larger for bold type. The result always shows normal and large text thresholds.
Why can 4.50:1 show Fail?
The prominent number is rounded for display. The AA and AAA decisions use the computed ratio before rounding.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.