accessible-color-system

Generate WCAG-compliant color palettes and CSS variables for brand systems.

2|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/coastdigitalgroup/coastai-skills --skill accessible-color-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: accessible-color-system
Source: https://github.com/coastdigitalgroup/coastai-skills/tree/main/website-design/accessible-color-system
Command: npx skills add https://github.com/coastdigitalgroup/coastai-skills --skill accessible-color-system

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Designers need a repeatable, WCAG-compliant color system that can be applied across brands, themes, and UI components to ensure accessibility and visual consistency.

Core Features & Use Cases

  • Generate tonal scales (primary, neutral, semantic) with consistent lightness steps.
  • Define contrast rules and CSS variables for production-ready theming, including dark/light modes.
  • Provide semantic color mappings (e.g., action, surface, text) and a guideline for accessibility audits.

Quick Start

Define a brand's primary color and neutral base, then generate a complete color system with CSS variables ready for integration.

Frequently Asked Questions about accessible-color-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a WCAG-compliant color palette for my brand's UI design system?

To create a WCAG-compliant color palette, you define a primary color and neutral base, then generate tonal scales with consistent lightness steps. This produces semantic color roles and CSS variables that validate WCAG 2.1 AA compliance across UI surfaces.

What is the best way to generate accessible CSS variables for dark and light themes?

Generating accessible CSS variables for dark and light themes involves creating theme variants from a tonal scale. The system maps semantic color roles like action, surface, and text to ensure visual consistency and contrast compliance across both modes.

How do I map semantic color roles for accessibility audits in a design system?

Mapping semantic color roles for accessibility audits involves assigning specific contrast rules to UI elements like actions, surfaces, and text. The system provides a documented workflow to validate WCAG 2.1 AA compliance for consistent accessibility across components.

Does this color system approach work for generating tonal scales with consistent lightness steps?

Yes, this approach works specifically for generating tonal scales with consistent lightness steps. It creates primary, neutral, and semantic scales to establish objective scopes for brand palettes, ensuring repeatable accessibility across your design system.

Why do I need a WCAG-first color system for my brand?

You need a WCAG-first color system to guarantee accessibility and visual consistency across brands, themes, and UI components. It solves the problem of manually checking contrast by providing production-ready CSS variables and documented validation workflows.

Can I use my existing brand colors to generate an accessible UI color system?

Yes, you can use existing brand colors to generate an accessible UI color system. By defining your brand's primary color and neutral base, the workflow produces a complete set of WCAG 2.1 AA compliant CSS variables ready for integration.