WCAG Color Contrast Checker
Verify AA & AAA contrast ratios, simulate color blindness, and auto-fix inaccessible foreground/background pairs locally.
Color Picker & Shade Scales
Generate HEX, RGB, HSL codes and accessible tint/shade palettes in browser.
CSS Gradient Generator
Design linear, radial, and conic CSS gradients with instant Tailwind export.
Why Cloud Alternatives Put Your Data at Risk
Low-contrast light-gray text and pastel buttons look trendy in Figma mockups but fail real-world readability on sunlit phones and violate WCAG 2.1 / ADA / EAA accessibility standards.
KitWharf computes exact W3C relative luminance ratios ((L1 + 0.05) / (L2 + 0.05)), simulates deuteranopia/protanopia/tritanopia color vision, and suggests the closest passing shade 100% client-side with zero lag.
Step-by-Step Local Workflow
Follow this streamlined four-step process using the WCAG Color Contrast & Accessibility Checker directly in your browser:
- Pick Foreground & Background Colors: Enter HEX, RGB, or HSL values for your text and surface.
- Verify AA & AAA Badges: Check instant pass/fail status for Normal Text (
4.5:1), Large Text (3:1), and AAA (7:1). - Simulate Color Blindness: Preview how your UI pair looks under Protanopia, Deuteranopia, and Tritanopia.
- 1-Click Auto-Fix: If a brand color fails, click Auto-Fix to darken/lighten just enough to hit
4.5:1while preserving hue.
WCAG 2.1 Minimum Contrast Thresholds Explained
WCAG 2.1 defines contrast ratio from 1:1 (invisible) to 21:1 (black on white) using linearized sRGB luminance.
- Level AA Normal Text: At least
4.5:1(body copy, labels, buttons under 18pt). - Level AA Large Text & UI Components: At least
3.0:1(18pt/24px regular or 14pt/18.67px bold, plus input borders and icons). - Level AAA Enhanced: At least
7.0:1for normal text and4.5:1for large text.
Technical Comparison & Reference Matrix
| WCAG Level | Normal Text | Large Text & UI Components |
|---|---|---|
| AA (Standard Legal Target) | 4.5 : 1 | 3.0 : 1 |
| AAA (Enhanced Readability) | 7.0 : 1 | 4.5 : 1 (text) / 3.0 : 1 (UI) |
Fixing a Failing Brand Indigo Button
White text (#FFFFFF) on soft indigo (#818CF8) only achieves 2.95:1 (Fails AA). Darkening just two steps to #4F46E5 lifts contrast to 6.29:1—passing AA for all text sizes while keeping the exact brand identity.
Common Pitfalls & How to Avoid Them
Even experienced teams run into subtle edge cases when processing files or data locally. Watch out for these frequent issues:
- Testing Only Light Mode and Forgetting Dark Mode: Always test both light surfaces (
#F8FAFC) and dark surfaces (#0F172A)—saturated blues and reds often fail on dark backgrounds. - Relying Only on Color to Convey Error/Success State: Pair red/green status colors with icons or text labels so color-blind users never miss validation feedback.
- Low-Contrast Placeholder Text: Placeholder text inside form inputs still needs
4.5:1contrast if users rely on it to understand what to type.
Privacy Verification & Security Best Practices
When working with sensitive personal, financial, or corporate files, never rely solely on a website's marketing claims. Follow these practical verification steps:
- Target at least
4.5:1across all body copy, form labels, and primary CTA buttons. - Use the 1-click Auto-Fix button to find the minimal luminance shift that satisfies AA or AAA.
- Audit placeholder text, disabled states, and focus rings alongside primary text.
Independent Zero-Upload Audit (30 Seconds)
You can verify that KitWharf processes your files strictly inside local browser RAM:
- Open Chrome, Edge, or Firefox Developer Tools (
F12) and select the Network tab. - Load the WCAG Color Contrast & Accessibility Checker page once so the client-side bundle is cached.
- Toggle Offline Mode in the Network panel (or disconnect Wi-Fi) and process your file.
- Confirm zero outbound
POSTrequests containing your file payload occur while the tool completes its work instantaneously.
💡 Try it instantly: Ready to run this workflow privately? Open WCAG Color Contrast & Accessibility Checker now — 100% local in browser RAM with zero login or watermarks.