# brand identity token kit

> 1-3 hex colours in, full brand token kit out: OKLCH scales, WCAG-checked light/dark themes, Tailwind, DTCG tokens, guide.

brand identity token kit is a paid AI agent skill on Agensi by Big t, in UX & UI Design. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $10 (one-time purchase)
- Creator: [Big t](https://www.agensi.io/creators/t-b)
- Category: [UX & UI Design](https://www.agensi.io/skills/ux-ui-design)
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/brand-identity-token-kit
- Tags: branding, web-design, marketing, brand-identity, color-palette, css-variables, wcag, accessibility

## About this skill

**Turn a logo colour into a design system that passes contrast checks in light and dark mode.**

Give the brand name, 1-3 colours and a mood. The skill builds perceptually even OKLCH 50-950 scales that **keep your exact input colours**, plus neutral and semantic (success/warning/danger/info) scales and light and dark role tokens. A WCAG 2.2 contrast table covers every text/background pair, and a colour-vision check (Machado 2009 simulation for protanopia, deuteranopia and tritanopia) catches danger/success pairs that look alike. `--cvd-safe` nudges the success hue automatically.

Outputs:
- `tokens.json` (W3C Design Tokens format for Figma Tokens Studio / Style Dictionary)
- `tokens.css` with dark mode
- Tailwind v4 `@theme` and a v3 `tailwind.config.js`
- printable `brand-guide.html`
- `contrast-report.md`
- social SVG templates (1080 post, 1500x500 banner, 1200x630 OG)

It also includes a **stylesheet audit** that merges near-duplicate colours from an inherited CSS file and maps each one to the nearest token, and a **contrast check** that suggests the nearest passing colour.

### What's included
SKILL.md, `scripts/brandkit.py`, `scripts/colorlib.py` (OKLab/OKLCH, WCAG, CVD simulation), sample brief and messy CSS, sample output kit, references (WCAG 2.2, CSS Color 4, W3C DTCG, Tailwind docs, Björn Ottosson's OKLab, Machado et al. 2009), tests.

## Known limitations

- It doesn't design logos. The SVGs are layout templates that use your colours and fonts.
- Contrast uses the WCAG 2.x formula. APCA (WCAG 3 draft) is not computed.
- Colour-vision simulation is a model (Machado 2009, full severity). Test with real users for critical UI.
- Font files are not bundled. The guide references Google Fonts families by name.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the brand identity token kit skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Will it change my brand colour?

No. Your exact hex is kept at the nearest scale step (marked ★ in the guide). If it fails 4.5:1 for text, the kit picks a darker or lighter step for text roles and tells you.

### Which Tailwind versions?

Both: `theme.css` for Tailwind v4 (`@theme`) and `tailwind.config.js` for v3.

### Does it work with Figma?

Yes. `tokens.json` follows the W3C Design Tokens (DTCG) format, which Tokens Studio and Style Dictionary import.

### Can I just check one colour pair?

Yes. `brandkit.py check "#999999" "#FFFFFF"` prints the ratio, AA/AAA grades and the nearest passing colour.

### What if I only have one colour?

That's enough. You get the primary scale, neutrals tinted toward it, semantic colours, both themes and the contrast checks. Add secondary and accent colours if your brand has them.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
