Color Accessibility

Color Accessibility

Designs accessible color palettes with enough contrast and color-blind-safe choices, following WCAG ratios and testing methods.

Skill files6 files

references/

templates/

SKILL.md103 lines
1
---
2
name: color-accessibility
3
description: >
4
Design color palettes that are accessible to all users including those with
5
color blindness. Ensure sufficient contrast, meaningful use of color, and
6
inclusive design.
7
---
8
9
# Color Accessibility
10
11
## Table of Contents
12
13
- [Overview](#overview)
14
- [When to Use](#when-to-use)
15
- [Quick Start](#quick-start)
16
- [Reference Guides](#reference-guides)
17
- [Best Practices](#best-practices)
18
19
## Overview
20
21
Accessible color design ensures all users, including those with color vision deficiency, can access and understand information.
22
23
## When to Use
24
25
- Creating color palettes
26
- Designing data visualizations
27
- Testing interface designs
28
- Status indicators and alerts
29
- Form validation states
30
- Charts and graphs
31
32
## Quick Start
33
34
Minimal working example:
35
36
```yaml
37
WCAG Contrast Ratios:
38
39
WCAG AA (Minimum):
40
- Normal text: 4.5:1
41
- Large text (18pt+): 3:1
42
- UI components & graphical elements: 3:1
43
- Focus indicators: 3:1
44
45
WCAG AAA (Enhanced):
46
- Normal text: 7:1
47
- Large text: 4.5:1
48
- Better for accessibility
49
50
---
51
Testing Contrast:
52
53
Tools:
54
- WebAIM Contrast Checker
55
- Color Contrast Analyzer
56
- Figma plugins
57
- Browser DevTools
58
59
Formula (WCAG): Contrast = (L1 + 0.05) / (L2 + 0.05)
60
Where L = relative luminance
61
62
// ... (see reference guides for full implementation)
63
```
64
65
## Reference Guides
66
67
Detailed implementations in the `references/` directory:
68
69
| Guide | Contents |
70
|---|---|
71
| [Color Contrast Standards](references/color-contrast-standards.md) | Color Contrast Standards |
72
| [Color Vision Deficiency Simulation](references/color-vision-deficiency-simulation.md) | Color Vision Deficiency Simulation |
73
| [Accessible Color Usage](references/accessible-color-usage.md) | Accessible Color Usage |
74
| [Testing & Validation](references/testing-validation.md) | Testing & Validation |
75
76
## Best Practices
77
78
### ✅ DO
79
80
- Ensure 4.5:1 contrast minimum (WCAG AA)
81
- Test with color blindness simulator
82
- Use patterns or icons with color
83
- Label states with text, not color alone
84
- Test with real users with color blindness
85
- Document color usage in design system
86
- Choose accessible color palettes
87
- Use sequential colors for ordered data
88
- Validate all color combinations
89
- Include focus indicators
90
91
### ❌ DON'T
92
93
- Use color alone to convey information
94
- Create low-contrast text
95
- Assume users see colors correctly
96
- Use red-green combinations
97
- Forget about focus states
98
- Mix too many colors (>5-8)
99
- Use pure red and pure green together
100
- Skip contrast testing
101
- Assume AA is sufficient (AAA better)
102
- Ignore color blindness in testing
103

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…