Ask any AI coding agent to "design a landing page for a calm meditation app" and 9 times out of 10 you get the exact same dark-indigo background with a purple-to-blue Tailwind gradient.

Even worse, when you ask it to pick custom colors, it guesses hex codes from memory and frequently fails WCAG text contrast.

So I packaged all 348 color combinations from Sanzo Wada's 1933–34 classic A Dictionary of Color Combinations into an open-source AI agent skill (SKILL.md) for Claude Code, Cursor, and Codex:

👉 GitHub: https://github.com/Rayed-Hasan/sanzo-wada-skills

Before and after using Sanzo Wada Color Palettes

Why not just paste a JSON file into the prompt?

A 348-palette JSON file is ~500 KB—dumping that into an LLM's context window wastes tokens and degrades attention.

Instead, the skill gives the agent a zero-dependency Python CLI (scripts/find_palette.py) and four strict rules in SKILL.md:

  1. Search before guessing: Query by --mood, --use, --temperature, --tone, --size, or --accessible.
  2. Verify contrast first: Every palette comes with precomputed WCAG AA / AAA contrast ratios. If a historical print pair fails body-text contrast, the agent keeps the Wada hues for accents/surfaces and pairs them with a tinted neutral ink/canvas.
  3. Enforce 60 / 30 / 10: 60% background canvas, 30% secondary surfaces/cards, 10% accent/CTAs.
  4. Stay faithful to the palette: Emit semantic CSS custom properties (--color-bg, --color-text, --color-accent) using the exact hex values—deriving hover/border states with color-mix(), never inventing new hues.

What the agent actually sees

When you ask for a calm, accessible palette, the agent runs:

python scripts/find_palette.py --mood calm --accessible --limit 2 

And gets structured, contrast-checked output in milliseconds:

9 match(es) #119 cool/mid/moderate moods: calm, professional, trustworthy colors: Light Glaucous Blue #a5c8d1 | Dark Tyrian Blue #12354e light theme -> bg #a5c8d1 text #12354e (7.16:1 AAA) accent - secondary None for: fintech, SaaS, healthcare, B2B dashboards; corporate sites, consulting, documentation; wellness, meditation, mental-health, reading apps #139 cool/mid/moderate moods: calm, professional, trustworthy colors: Salvia Blue #97acc8 | Deep Indigo #051230 | Neutral Gray #b6bfc1 light theme -> bg #b6bfc1 text #051230 (9.87:1 AAA) accent #97acc8 (1.24:1 fail) secondary None for: fintech, SaaS, healthcare, B2B dashboards; corporate sites, consulting, documentation; wellness, meditation, mental-health, reading apps 

Try it in 10 seconds

Claude Code:

git clone https://github.com/Rayed-Hasan/sanzo-wada-skills.git ~/.claude/skills/sanzo-wada-palettes 

Cursor / Codex:

git clone https://github.com/Rayed-Hasan/sanzo-wada-skills.git ~/.cursor/skills/sanzo-wada-palettes 

It's MIT-licensed and only needs Python 3 (standard library only). If you try it on a project, I'd love to see what palette # your agent picks!