Skip to content
aj-geddes avatar

Color Accessibility

Accessible color palette design covering WCAG contrast ratios, color vision deficiency, and meaningful color usage.

CCM score
41 of 100
skills.sh installs
629
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers WCAG AA and AAA contrast thresholds for normal text, large text, UI components, and focus indicators
  • Includes guidance on color vision deficiency simulation, accessible color usage, and testing and validation
  • Enforces rules such as a 4.5:1 minimum contrast, labeling states with text rather than color alone, and avoiding red-green pairings
  • Designed for designers and developers building charts, status indicators, alerts, and form validation states

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill color-accessibility -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Design & UI/UX, Frontend & UI Code
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258

Similar to Color Accessibility

More Design & UI/UX