Skip to content
toolstome

Design system generator

Start a design system from a handful of decisions instead of hundreds of values. Enter a primary colour, a neutral and an optional accent, and get eleven-step colour scales from 50 to 950 built in the perceptual OKLCH colour space. Add a base font size and a scale ratio for a modular type scale with line heights, a spacing unit for a spacing scale, a corner radius (zero for square corners) and font stacks. The tokens export as CSS custom properties, W3C Design Tokens JSON for tools like Style Dictionary and Figma plug-ins, or a Tailwind CSS v4 @theme block.

Free · No sign-upProcessed in your browser

Primary

50

#edfbf3

100

#d6f4e4

200

#b2e8cc

300

#7bd3aa

400

#3cbb88

500

#009f6d

600

#008057

700

#006645

800

#004d33

900

#003522

950

#001f12

Neutral

50

#f6f7f9

100

#e9ebef

200

#d6d9e0

300

#b8bec9

400

#9ba2af

500

#7f8695

600

#656c7a

700

#4f5562

800

#3b404a

900

#272b34

950

#15181e

Primary 600 on white: 4.97:1, meets WCAG AA for text.

Type scale

5xl · 61.0 px

4xl · 48.8 px

3xl · 39.1 px

2xl · 31.3 px

xl · 25.0 px

lg · 20.0 px

base · 16.0 px

sm · 12.8 px

xs · 10.2 px

Export

How to use the Design System Generator

  1. 1

    Enter colours

    Primary, neutral and an optional accent as HEX.

  2. 2

    Set type, spacing and radius

    Base size, scale ratio, spacing unit, radius and fonts.

  3. 3

    Export

    CSS variables, W3C JSON or Tailwind @theme.

How tokens are built

Colour steps keep the hue of your colour and vary lightness and chroma in OKLCH, so steps look evenly spaced. Type sizes are base × ratioⁿ from two steps below to six above the base; line height falls from 1.5 for body text towards 1.1 for display sizes. Spacing is the unit times a fixed set of multipliers.

  • size(n) = base × ratioⁿ
  • space(k) = unit × k

When to use it

  • Bootstrap the tokens for a new product.
  • Give developers and designers one source of values.
  • Generate a Tailwind theme from brand colours.

Limits

  • Generated scales are a starting point; check key pairs for contrast and adjust by eye.
  • Component tokens (buttons, inputs) are not generated.

Privacy

Generated in your browser; nothing is stored or sent.

Frequently asked questions

What are design tokens?

Named values such as color-primary-600 or space-4 that designers and code share, so a change in one place updates everything.

Why OKLCH?

It is a perceptual colour space: equal steps in lightness look equal to the eye, unlike HSL, so scales are more even.

Which format should I export?

CSS variables work anywhere. W3C JSON feeds token tools such as Style Dictionary or Tokens Studio. The Tailwind block drops into a Tailwind v4 stylesheet.

What scale ratio should I choose?

1.2–1.25 suits interfaces; 1.333–1.5 gives more dramatic headings for marketing pages.

What does the contrast note mean?

It checks the primary 600 shade on white. 4.5:1 or more meets WCAG AA for normal text.

People also use

Last updated November 24, 2026 · How we build and test our tools

Categories

Recently used tools

Tools you open will appear here.

More