Color Scheme Tester
Free online color scheme tester. Process data instantly in your browser. No upload, no signup, fully private.
How to Use
- Paste or type your text into the Color Scheme Tester input area above.
- Configure any format or mode options to generate the result in real time.
- Click Copy to copy the formatted result to your clipboard, or Reset to clear the workbench.
What is Color Scheme Tester?
A color scheme tester previews a background and foreground HEX pair across realistic UI typography elements—headings, body copy, small labels, and buttons—while scoring the pair against WCAG 2.1 AA and AAA contrast levels. Product designers and front-end developers use it to validate readable light/dark themes before committing CSS variables.
How It Works
You enter Background and Foreground HEX values (defaulting to #ffffff and #000000) and click Test Scheme. Pure functions contrastRatioHex() and evaluateWcag() calculate the sRGB relative luminance ratio (1:1–21:1) and evaluate AA normal (≥4.5), AA large (≥3.0), AAA normal (≥7.0), and AAA large (≥4.5), rendering four styled UI preview blocks directly in the browser.
Common Use Cases
- Dark mode theme checks — test dark card backgrounds (e.g. #0f172a) with muted foreground grays for WCAG AA compliance
- CTA button contrast QA — preview how button label text reads against colored button backgrounds at 14px scale
- Alert & banner styling — verify info, warning, and danger text/background pairs remain accessible across text sizes
- Stakeholder sign-off — copy the formatted contrast ratio and AA/AAA PASS/FAIL table into design specs
Technical Details
Evaluates WCAG 2.1 relative luminance ratio via contrastRatioHex() and evaluateWcag() on #rgb/#rrggbb pairs. Renders live preview boxes for Heading (24px bold), Body text (16px), Small label (16px), and Button (14px).
FAQ
Is this Color Scheme Tester free?
Yes, completely free. No signup required.
Does this tool upload my data?
No. All processing happens locally in your browser. Your data never leaves your device.