color-accessibility▌
aj-geddes/useful-ai-prompts · updated Apr 8, 2026
Accessible color design ensures all users, including those with color vision deficiency, can access and understand information.
Color Accessibility
Table of Contents
Overview
Accessible color design ensures all users, including those with color vision deficiency, can access and understand information.
When to Use
- Creating color palettes
- Designing data visualizations
- Testing interface designs
- Status indicators and alerts
- Form validation states
- Charts and graphs
Quick Start
Minimal working example:
WCAG Contrast Ratios:
WCAG AA (Minimum):
- Normal text: 4.5:1
- Large text (18pt+): 3:1
- UI components & graphical elements: 3:1
- Focus indicators: 3:1
WCAG AAA (Enhanced):
- Normal text: 7:1
- Large text: 4.5:1
- Better for accessibility
---
Testing Contrast:
Tools:
- WebAIM Contrast Checker
- Color Contrast Analyzer
- Figma plugins
- Browser DevTools
Formula (WCAG): Contrast = (L1 + 0.05) / (L2 + 0.05)
Where L = relative luminance
// ... (see reference guides for full implementation)
Reference Guides
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Color Contrast Standards | Color Contrast Standards |
| Color Vision Deficiency Simulation | Color Vision Deficiency Simulation |
| Accessible Color Usage | Accessible Color Usage |
| Testing & Validation | Testing & Validation |
Best Practices
✅ DO
- Ensure 4.5:1 contrast minimum (WCAG AA)
- Test with color blindness simulator
- Use patterns or icons with color
- Label states with text, not color alone
- Test with real users with color blindness
- Document color usage in design system
- Choose accessible color palettes
- Use sequential colors for ordered data
- Validate all color combinations
- Include focus indicators
❌ DON'T
- Use color alone to convey information
- Create low-contrast text
- Assume users see colors correctly
- Use red-green combinations
- Forget about focus states
- Mix too many colors (>5-8)
- Use pure red and pure green together
- Skip contrast testing
- Assume AA is sufficient (AAA better)
- Ignore color blindness in testing
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.7★★★★★35 reviews- ★★★★★Ira Okafor· Dec 28, 2024
Keeps context tight: color-accessibility is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Aditi Singh· Dec 24, 2024
color-accessibility has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Oshnikdeep· Dec 20, 2024
color-accessibility reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Ira Park· Nov 19, 2024
color-accessibility has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Dev Diallo· Nov 15, 2024
Keeps context tight: color-accessibility is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Ganesh Mohane· Nov 11, 2024
I recommend color-accessibility for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Tariq White· Oct 10, 2024
Solid pick for teams standardizing on skills: color-accessibility is focused, and the summary matches what you get after install.
- ★★★★★Aarav Sharma· Oct 6, 2024
color-accessibility is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Sakshi Patil· Oct 2, 2024
Useful defaults in color-accessibility — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Aarav Abebe· Sep 25, 2024
Useful defaults in color-accessibility — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 35