colour-systems

Compute OKLCh colour palettes and semantic design tokens for WCAG 2.2 contrast compliance.

1|Updated Jul 26, 2026
One-click install
npx skills add https://github.com/yogvidwankhede/vishwakarma --skill colour-systems
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: colour-systems
Source: https://github.com/yogvidwankhede/vishwakarma/tree/main/.claude/skills/colour-systems
Command: npx skills add https://github.com/yogvidwankhede/vishwakarma --skill colour-systems

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill solves the problem of undifferentiated, accidental interface design by replacing subjective adjectives with objective, computed design systems that ensure accessibility and visual coherence.

Core Features & Use Cases

  • Perceptually Uniform Palettes: Generate colour ramps using OKLCh to ensure consistent lightness and chroma across all steps.
  • Semantic Token Mapping: Implement a robust three-layer token system (primitive, semantic, component) to enable effortless theme switching.
  • Accessibility Auditing: Automatically validate contrast ratios against WCAG 2.x standards and APCA guidelines for both light and dark modes.

Quick Start

Use the colour-systems skill to audit the current CSS theme tokens for WCAG 2.2 contrast compliance and generate a dark mode palette.

Frequently Asked Questions about colour-systems

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

FAQPage Schema
How do I generate accessible color palettes that meet WCAG 2.2 contrast requirements?

Generate accessible color palettes by computing perceptually uniform color ramps using the OKLCh color space. This ensures consistent lightness and chroma across all steps while automatically validating contrast ratios against WCAG 2.2 standards for both light and dark modes.

What is the best way to implement a three-layer design token system for dark mode?

The best way to implement a three-layer design token system for dark mode is to structure tokens into primitive, semantic, and component layers. This semantic mapping enables effortless theme switching and visual coherence across UI design systems.

How does OKLCh color space improve UI design system accessibility auditing?

OKLCh color space improves UI design system accessibility by providing perceptually uniform color generation. It computes palettes with consistent lightness and chroma, allowing systematic tokenization that satisfies both WCAG 2.x contrast and non-text contrast criteria.

Can I audit my current CSS theme tokens for both text and non-text contrast compliance?

Yes, you can audit current CSS theme tokens for both text and non-text contrast compliance. The system automatically validates contrast ratios against WCAG 2.2 standards and APCA guidelines, ensuring web interfaces meet accessibility requirements in light and dark modes.

Why do my computed design tokens fail WCAG contrast checks in dark mode?

Computed design tokens often fail WCAG contrast checks in dark mode due to non-uniform lightness perception in standard color spaces. Using OKLCh ensures perceptually uniform color ramps, systematically fixing contrast ratio failures across both light and dark themes.