color-palette

Generate accessible Tailwind v4 color palettes with WCAG contrast validation.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/moughamir/justwaitit-review --skill color-palette-moughamir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: color-palette
Source: https://github.com/moughamir/justwaitit-review/tree/main/.agents/skills/color-palette
Command: npx skills add https://github.com/moughamir/justwaitit-review --skill color-palette-moughamir

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

It removes the guesswork of designing brand-consistent colors by generating a full, accessible shade scale and matching semantic tokens (including dark mode), so your UI text and components meet contrast expectations without manual tweaking.

Core Features & Use Cases

  • Accessible 11-shade scale (50-950): Generates a complete palette from a single brand hex using HSL-based lightness steps, with guidance to reduce saturation in light shades.
  • Semantic token mapping for UI: Produces light/dark semantic variables (background, foreground, card, primary, muted, border, ring, etc.) so components can use meaningful names instead of hardcoded colors.
  • WCAG contrast checking: Includes WCAG contrast ratio formulas, thresholds (AA for text and UI), and practical “common pairs” checks to prevent unreadable combinations.
  • Tailwind v4 CSS output: Provides a ready-to-paste @theme and .dark override template aligned to Tailwind v4 variable conventions.

Quick Start

Ask the assistant to generate the full Tailwind v4 accessible color palette from the brand hex #0D9488 and include WCAG contrast checks and dark-mode semantic tokens.

Frequently Asked Questions about color-palette

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

FAQPage Schema
How do I generate an accessible Tailwind v4 color palette from a single brand hex code?

To generate an accessible Tailwind v4 color palette, provide a single brand hex code to produce an 11-shade scale (50-950) using HSL-based lightness steps. The output includes ready-to-paste @theme CSS variables and semantic token mappings for light and dark modes.

What are semantic tokens in a design system and how do they map for dark mode?

Semantic tokens are meaningful variable names like background, foreground, primary, and border that replace hardcoded colors. They map to specific shades for light mode and automatically remap to appropriate dark mode equivalents using .dark CSS override templates.

How do I check WCAG contrast ratios for my UI color pairs?

WCAG contrast checking applies luminance and contrast formulas to evaluate common UI color pairs against AA thresholds for text and UI elements. It validates readability and provides guidance for fixing low-contrast pairings to ensure accessible design.

Does this color palette generator support both light and dark mode semantic tokens?

Yes, the color palette generator supports both light and dark mode by producing matching semantic token variables. It generates a complete 11-shade scale and provides a .dark override template aligned to Tailwind v4 variable conventions for both modes.

Why do my light Tailwind shades look washed out and how can I fix the saturation?

Light Tailwind shades can appear washed out when saturation remains constant across the scale. The palette generator applies HSL-based lightness steps with specific guidance to reduce saturation in light shades, maintaining brand consistency without manual tweaking.

Can I use these generated color systems with existing Tailwind CSS themes?

Yes, you can use the generated color systems with existing Tailwind CSS themes because the output provides ready-to-paste @theme compatible CSS variables. These follow Tailwind v4 variable conventions, allowing direct integration into your current design system setup.