Design Tokens Generator
Create color design tokens from a palette and export CSS variables, SCSS maps, JSON and Tailwind-ready values.
What this page gives you
- Convert raw HEX values into named implementation tokens.
- Use shade scales for numeric tokens and semantic names for UI roles.
- Export JSON when tokens need to move between design and build tools.
Good for
- Design systems
- Token handoff
- Frontend teams
How to use it
Can I use this with the main generator?
Yes. Start from this page, then open the main Chromoforge tool with the same base color and export the palette.
What is the difference between primitive and semantic tokens?
Primitives name raw values, such as blue-500 or gray-900. Semantic tokens name intent, such as color-action-background or color-text-muted, and point at a primitive. Components should only ever consume semantic tokens, so a rebrand or a new theme changes one indirection layer instead of every component.
Which export format should I commit to the repository?
CSS custom properties when the theme must switch at runtime in the browser. JSON when tokens feed a multi-platform pipeline such as Style Dictionary and have to reach iOS or Android too. SCSS variables only when everything is resolved at build time and no runtime theming is needed.