Colors

Generate WCAG-compliant color palettes with semantic tokens and contrast calculations.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/dz07/goku-skills --skill colors-dz07
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Colors
Source: https://github.com/dz07/goku-skills/tree/main/skills/colors
Command: npx skills add https://github.com/dz07/goku-skills --skill colors-dz07

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables designers to craft accessible color palettes that meet WCAG contrast requirements and establish semantic tokens for cohesive design systems.

Core Features & Use Cases

  • Semantic tokens: define color roles like primary, surface, and text to ensure consistent usage across components.
  • WCAG-compliant contrast: automatically calculate and verify contrast ratios for body text, UI controls, and components.
  • Dark mode readiness: generate palettes suitable for light and dark themes with predictable tokens.

Quick Start

Define a primary color and a neutral gray scale, then verify contrasts against white and black backgrounds.

Frequently Asked Questions about Colors

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

FAQPage Schema
How do I generate WCAG-compliant color palettes for a UI design system?

To generate WCAG-compliant color palettes, you define a primary color and neutral gray scale, which automatically calculates and verifies contrast ratios for body text and UI controls to ensure accessibility. This process also establishes semantic tokens for cohesive web and mobile design.

What are semantic color tokens and how do they work for dark mode?

Semantic color tokens define specific roles like primary, surface, and text to ensure consistent usage across UI components. They generate palettes suitable for both light and dark themes with predictable tokens, ensuring contrast is maintained across web and mobile interfaces.

Can I use CSS-ready color variables generated for web and mobile interfaces?

Yes, you can use CSS-ready color variables generated for web and mobile interfaces. The system produces themeable tokens and CSS-ready color variables that apply semantic roles directly to product interfaces and branding systems.

What is the best way to verify contrast ratios for UI controls and body text?

The best way to verify contrast ratios for UI controls and body text is by applying a generated WCAG-compliant color scheme. This automatically calculates and validates contrast against white and black backgrounds, ensuring your color palette meets accessibility requirements.

Do I need a primary color and neutral gray scale to start building accessible themes?

Yes, you need to define a primary color and a neutral gray scale to start building accessible themes. This allows the system to automatically verify contrasts against white and black backgrounds and generate cohesive semantic tokens for your design system.