Free tool

Build a design system from three colors

Pick a brand color, a call to action color and an ink color. You get seven color ramps, status colors, named color tokens with their contrast measured, a type scale, spacing, radii, shadows and motion, shown working in real components. Take it away as CSS variables, a Tailwind theme, a design tokens file and an instruction file for your coding agent.

All 35 color pairs the system uses pass WCAG AA. Success: Your brand color is green, so success uses your brand ramp instead of adding a second green. Danger: Moved within red to stay clear of your brand and call to action colors.

Step 1: Pick colors

Start with three colors

Each color you pick is kept exactly, on the step closest to it in lightness. The other ten steps of its ramp are drawn around it on the same hue.

Highlights, links and selected states.

The primary button, and nothing else.

Text. It also tints the neutrals and the shadows.

Optional. Written into the files you download, and not kept in the link.

Brand

The brand color. Hero and closing bands, numerals, highlights. Links and small colored text use 700.

  1. 50#f1faf3
  2. 100#dff4e3
  3. 200#c2e9ca
  4. 300#9bdbaa
  5. 400#6ccb86
  6. 500yours#46ba6c
  7. 600#1d9c50
  8. 700#007d3b
  9. 800#03622d
  10. 900#064b23
  11. 950#002d11

Call to action

The primary call to action, and nothing else. One per view.

  1. 50#fff5f1
  2. 100#ffe8e0
  3. 200#ffd2c2
  4. 300#ffb59a
  5. 400#ff9067
  6. 500yours#f57340
  7. 600#d5561e
  8. 700#ad3e07
  9. 800#893106
  10. 900#6a2507
  11. 950#411301

Neutral

Text, dark bands and quiet surfaces, tinted toward your ink color.

  1. 50#fcf9f9
  2. 100#f5f3f3
  3. 200#e9e5e5
  4. 300#d7d3d3
  5. 400#a9a3a3
  6. 500#7d7575
  7. 600#5d5656
  8. 700#464141
  9. 800#2e2a2a
  10. 900yours#201d1d
  11. 950#110f0f

Step 1: Pick colors

Status colors

Success, warning, danger and info are generated to sit with your palette: the same lightness steps as your brand ramp, a similar strength of color, and hues kept clear of your brand and call to action colors. Replace any of them with your own.

Success

Something worked, or is in a good state. Your brand color is green, so success uses your brand ramp instead of adding a second green.

  1. 50#f1faf3
  2. 100#dff4e3
  3. 200#c2e9ca
  4. 300#9bdbaa
  5. 400#6ccb86
  6. 500yours#46ba6c
  7. 600#1d9c50
  8. 700#007d3b
  9. 800#03622d
  10. 900#064b23
  11. 950#002d11
  • Solid fillon-success on success-solid5.25:1. Passes AA, which needs 4.5:1.
  • Tinton-success-subtle on success-subtle6.52:1. Passes AA, which needs 4.5:1.Border: 3.07:1. Passes AA, which needs 3:1.
  • Bordersuccess-border on surface3.55:1. Passes AA, which needs 3:1.
  • Textsuccess-text on background5.02:1. Passes AA, which needs 4.5:1.

Generated. Pick a color to replace it.

Warning

Something needs attention before it becomes a problem. A standard amber, drawn on the same lightness steps as your brand ramp.

  1. 50#fcf7ed
  2. 100#f9ecd7
  3. 200#f2dab2
  4. 300#eac380
  5. 400#dfa840
  6. 500#ce9300
  7. 600#aa7900
  8. 700#875f00
  9. 800#6b4a00
  10. 900#533900
  11. 950#322000
  • Solid fillon-warning on warning-solid7.82:1. Passes AA, which needs 4.5:1.
  • Tinton-warning-subtle on warning-subtle6.91:1. Passes AA, which needs 4.5:1.Border: 3.31:1. Passes AA, which needs 3:1.
  • Borderwarning-border on surface3.86:1. Passes AA, which needs 3:1.
  • Textwarning-text on background5.47:1. Passes AA, which needs 4.5:1.

Generated. Pick a color to replace it.

Danger

Something failed, or an action cannot be undone. Moved within red to stay clear of your brand and call to action colors.

  1. 50#fff5f4
  2. 100#ffe7e6
  3. 200#ffd1cf
  4. 300#ffb2b1
  5. 400#fc8e8f
  6. 500#f07377
  7. 600#cf565c
  8. 700#a83f45
  9. 800#853136
  10. 900#672529
  11. 950#3f1315
  • Solid fillon-danger on danger-solid6.07:1. Passes AA, which needs 4.5:1.
  • Tinton-danger-subtle on danger-subtle7.16:1. Passes AA, which needs 4.5:1.Border: 3.47:1. Passes AA, which needs 3:1.
  • Borderdanger-border on surface4.09:1. Passes AA, which needs 3:1.
  • Textdanger-text on background5.79:1. Passes AA, which needs 4.5:1.

Generated. Pick a color to replace it.

Info

Neutral information worth noticing. A standard blue, drawn on the same lightness steps as your brand ramp.

  1. 50#f2f8ff
  2. 100#e1efff
  3. 200#c5e1ff
  4. 300#9fceff
  5. 400#72b8ff
  6. 500#49a4fb
  7. 600#2787db
  8. 700#106ab3
  9. 800#0d538e
  10. 900#0b406d
  11. 950#022544
  • Solid fillon-info on info-solid5.62:1. Passes AA, which needs 4.5:1.
  • Tinton-info-subtle on info-subtle6.80:1. Passes AA, which needs 4.5:1.Border: 3.23:1. Passes AA, which needs 3:1.
  • Borderinfo-border on surface3.77:1. Passes AA, which needs 3:1.
  • Textinfo-text on background5.37:1. Passes AA, which needs 4.5:1.

Generated. Pick a color to replace it.

Step 2: Review foundations

Color tokens

The ramps are the raw material. These named colors are what a product should use: each points at one ramp step, chosen by measuring its contrast against what it sits on.

Surfaces

  • Backgroundbackground = neutral-50The page behind everything.
  • Surfacesurface = whiteCards, panels, inputs and table rows.
  • Raised surfacesurface-raised = whiteMenus, popovers and modals. Pair it with a shadow.

Text

  • Textforeground = neutral-900Headings and body text.
  • Secondary textforeground-secondary = neutral-700Supporting copy and descriptions.
  • Muted textforeground-muted = neutral-600Help text, placeholders and timestamps.
  • Linklink = brand-700Links and small colored text.
  • Link, hoveredlink-hover = brand-800A link under the pointer.

Borders

  • Hairlinehairline = neutral-200Dividers between rows and sections.
  • Borderborder = neutral-300The edge of a card or panel. Decoration, not information.
  • Strong borderborder-strong = neutral-500The edge of an input, checkbox or other control, which has to be seen.

Brand and action

  • Brand fillbrand-solid = brand-500Selected states, highlights and brand bands.
  • Text on brandon-brand = neutral-900Text and icons on the brand fill.
  • Actionaction = cta-500The primary button. One per view.
  • Action, hoveredaction-hover = cta-400The primary button under the pointer.
  • Text on actionon-action = neutral-900The label of the primary button.
  • Focus ringfocus-ring = brand-600The outline around whatever has keyboard focus.

States

  • Disableddisabled = neutral-100The fill of a control that cannot be used.
  • Text on disabledon-disabled = neutral-400The label of a disabled control. Exempt from contrast rules, so never put needed information here.
  • Overlayoverlay = neutral-950 at 50%The scrim behind a modal.

All 35 color pairs the system uses pass WCAG AA.

Pairs the system uses
PairWhere it is usedTokensContrastResult
SampleText on the pageforeground on background15.98:1Passes AA (4.5:1)
SampleText on a surfaceforeground on surface16.73:1Passes AA (4.5:1)
SampleSecondary text on the pageforeground-secondary on background9.58:1Passes AA (4.5:1)
SampleSecondary text on a surfaceforeground-secondary on surface10.03:1Passes AA (4.5:1)
SampleMuted text on the pageforeground-muted on background6.84:1Passes AA (4.5:1)
SampleMuted text on a surfaceforeground-muted on surface7.16:1Passes AA (4.5:1)
SampleLinks on the pagelink on background5.02:1Passes AA (4.5:1)
SampleLinks on a surfacelink on surface5.25:1Passes AA (4.5:1)
SampleText on the brand fillon-brand on brand-solid6.77:1Passes AA (4.5:1)
SampleLabel of the primary buttonon-action on action5.90:1Passes AA (4.5:1)
SampleLabel of the primary button, hoveredon-action on action-hover7.52:1Passes AA (4.5:1)
SampleEdge of a control on the pageborder-strong on background4.29:1Passes AA (3:1)
SampleEdge of a control on a surfaceborder-strong on surface4.49:1Passes AA (3:1)
SampleFocus ring on the pagefocus-ring on background3.39:1Passes AA (3:1)
SampleFocus ring on a surfacefocus-ring on surface3.55:1Passes AA (3:1)
Pairs to avoid
PairWhere it is usedTokensContrastResult
SampleWhite text on the brand fillwhite on brand-solid2.47:1Never (needs 4.5:1)
SampleWhite text on the primary buttonwhite on action2.83:1Never (needs 4.5:1)
SampleDark text on the success fillforeground on success-solid3.18:1Never (needs 4.5:1)
SampleWhite text on the warning fillwhite on warning-solid2.14:1Never (needs 4.5:1)
SampleDark text on the danger fillforeground on danger-solid2.76:1Never (needs 4.5:1)
SampleDark text on the info fillforeground on info-solid2.98:1Never (needs 4.5:1)

Step 2: Review foundations

Typography

Pick a pair of open-license typefaces, a body size and a ratio. Each heading size is the one below it times the ratio. Sizes smaller than body text step down more gently so they stay readable, and every size carries its own line height.

Typefaces
Body size
Scale ratio

License: SIL Open Font License 1.1. The samples below are set in these typefaces.

Headings
Ag 123
'Inter', system-ui, -apple-system, 'Segoe UI', 'Roboto', sans-serif
Body
Ag 123
'Inter', system-ui, -apple-system, 'Segoe UI', 'Roboto', sans-serif
Code
Ag 123
'JetBrains Mono', ui-monospace, 'SFMono-Regular', 'Menlo', 'Consolas', monospace
  • text-5xl3.8147rem (61px) / 1.15Display headlinesClear type keeps a product calm
  • text-4xl3.0518rem (48.8px) / 1.15Large page headingsClear type keeps a product calm
  • text-3xl2.4414rem (39.1px) / 1.15Page headingsClear type keeps a product calm
  • text-2xl1.9531rem (31.3px) / 1.3Section headingsClear type keeps a product calm
  • text-xl1.5625rem (25px) / 1.3Card titlesClear type keeps a product calm
  • text-lg1.25rem (20px) / 1.5Lead paragraphsClear type keeps a product calm
  • text-base1rem (16px) / 1.5Body textClear type keeps a product calm
  • text-sm0.8889rem (14.2px) / 1.5Labels, help text and table cellsClear type keeps a product calm
  • text-xs0.7901rem (12.6px) / 1.5Captions and legal linesClear type keeps a product calm

Step 2: Review foundations

Space and shape

A spacing scale built from one unit, radii that grow with the size of the surface, border widths, shadows tinted with your ink, and motion tokens.

Spacing
Corners

Spacing

One unit is 4px. Every step is a whole number of units, so gaps and padding always line up.

  • 1 = 4px
  • 2 = 8px
  • 3 = 12px
  • 4 = 16px
  • 5 = 20px
  • 6 = 24px
  • 8 = 32px
  • 10 = 40px
  • 12 = 48px
  • 16 = 64px
  • 20 = 80px
  • 24 = 96px

Radii

Small parts take the small radius and large surfaces the large one, so corners look related at every size.

  • radius-none = 0pxTables and full-width bands
  • radius-sm = 3pxCheckboxes, badges, small chips
  • radius-md = 6pxButtons and inputs
  • radius-lg = 9pxCards and alerts
  • radius-xl = 12pxModals and large panels
  • radius-full = 9999pxPills, avatars and switches

Borders and focus

Three border widths, and a focus ring 2px wide that sits 2px away from the control so it never touches its edge.

  • border-width-thin = 1pxDividers, cards and inputs
  • border-width-medium = 2pxSelected and emphasised edges
  • border-width-thick = 4pxThe accent edge of an alert
  • focus-ringThe outline around whatever has keyboard focus.

Shadows

Five steps of elevation, tinted with your darkest neutral so they take the hue of your ink instead of a flat grey.

  • shadow-xsInputs and resting buttons
  • shadow-smCards
  • shadow-mdDropdowns and popovers
  • shadow-lgSticky bars and toasts
  • shadow-xlModals

Motion

Four durations and four easings. The exported stylesheets shorten every duration for people who have asked their device for less motion.

  • duration-fast = 100msHover and press feedback
  • duration-base = 200msMost transitions
  • duration-slow = 300msPanels and modals entering
  • duration-slower = 500msLarge page-level movement
  • ease-standard = cubic-bezier(0.2, 0, 0, 1)Things that move and stay on screen
  • ease-out = cubic-bezier(0, 0, 0.2, 1)Things entering the screen
  • ease-in = cubic-bezier(0.4, 0, 1, 1)Things leaving the screen
  • ease-in-out = cubic-bezier(0.4, 0, 0.2, 1)Things that move from one place to another

Step 3: See components

Components built from your tokens

Everything in this panel is styled with the generated variables and nothing else. The controls work, so you can tab through them to see the focus ring and hover them to see the states.

Buttons

Form fields

Shown to everyone on the team.

Enter a full email address.

Set when the workspace was created.

Choices

Billing period

Badges

PaidDue soonOverdueDraftArchived
PaidDue soonOverdueDraft

Alerts

Success: Payment received

Invoice 1042 was paid in full.

Warning: Card expires soon

Update the card on file before the next renewal.

Danger: Payment failed

The card was declined. Try another card.

Info: New export format

Reports can now be downloaded as CSV.

Card and tabs

Team plan

Ten seats, shared projects and priority support. Billed monthly.

Compare plans

The selected tab takes the link color and a thicker underline, so it is marked by more than color.

Table

Sample invoices
InvoiceCustomerStatusAmount
1042Northwind TradersPaid1,240.00
1043Blue Harbor Co.Due soon860.50
1044Larkspur StudioOverdue2,015.75

Modal

Step 3: See components

A marketing page in your colors

Four real sections from our own site library, redrawn with your brand, call to action and neutral ramps.

Brand band

Your brand color carries the opening band.

Text on it is your ink color. The one call to action button is the only place its color appears.

Paper

Most of a page is ink on white

Eyebrows and links use a darker step of the brand color, so small colored text stays readable.

01

Headlines

Set in the darkest neutral, which takes its hue from your ink color.

02

Secondary text

A mid neutral that still meets the contrast needed for body copy.

03

Cards

A quiet tint of the neutral ramp, with no border and no shadow.

Steps in each ramp
11
Colors you pick
3
Contrast for body text
4.5:1
Dark band per page
1

The closing band repeats the brand color.

One primary action, in the call to action color, and one quiet alternative.

All 9 pairs this page uses pass WCAG AA.

Pairs the sample page uses
PairWhere it is usedContrastResult
SampleHeadlines and body on paper16.73:1Passes AA (4.5:1)
SampleSecondary text on paper7.16:1Passes AA (4.5:1)
SampleSecondary text on soft bands and cards6.48:1Passes AA (4.5:1)
SampleLinks and eyebrows on paper5.25:1Passes AA (4.5:1)
SampleText on the brand band6.77:1Passes AA (4.5:1)
SampleLabel on the call to action button5.90:1Passes AA (4.5:1)
SampleText on the ink band16.73:1Passes AA (4.5:1)
SampleNumerals and eyebrows on the ink band8.39:1Passes AA (4.5:1)
SampleCard numerals (large only)3.21:1Passes AA (3:1)

Step 4: Export

Take it with you

Four files written from the same tokens: plain CSS variables, a Tailwind v4 theme, a JSON token file in the Design Tokens Community Group format, and an instruction file that teaches your coding agent the roles and the rules.

# My project design system

Instructions for an AI coding agent working in this project. Follow them whenever you write or change UI.

## Setup

1. Tailwind v4: add the contents of `theme.css` to the global stylesheet, after `@import 'tailwindcss';`. Any other stack: load `tokens.css`, which defines the same names as CSS custom properties.
2. Use the generated names: utilities such as `bg-surface`, `text-foreground` and `border-border`, or `var(--color-surface)` in plain CSS. Never write a hex value, a pixel size or a duration in a component.
3. `tokens.json` holds the same tokens in the Design Tokens Community Group format, for design tools and build pipelines.

## Rules

- Build with the semantic colors below. The ramps (`brand-500`, `neutral-200`) are the raw material; reach for a ramp step only when no semantic color fits, and check its contrast first.
- Text on a fill always uses the matching `on-` color: `on-action` on `action`, `on-danger` on `danger-solid`, `on-success-subtle` on `success-subtle`. Do not mix them.
- The `action` color is for the primary action only: one per view. Secondary buttons are `surface` with `border-strong`. A destructive button is `danger-solid`.
- A status color always comes with an icon or a text label that says the same thing. Never signal a state with color alone.
- Use `border-strong` for the edge of an input, checkbox or any control. `border` and `hairline` are decoration and are too faint to mark a control.
- Every focusable element shows a visible focus ring: `var(--focus-ring-width)` solid `focus-ring`, offset by `var(--focus-ring-offset)`.
- `disabled` and `on-disabled` are exempt from contrast rules, so never put information a person needs on a disabled control.
- Before pairing any two colors not listed under "Pairs that pass", compute the WCAG contrast ratio. Text needs 4.5:1. Large text (24px, or 18.66px bold), the edge of a control, a meaningful icon and a focus ring need 3:1.

## Semantic colors

| Token | Value | Use |
| --- | --- | --- |
| `background` | `neutral-50` (`#fcf9f9`) | The page behind everything. |
| `surface` | `white` (`#ffffff`) | Cards, panels, inputs and table rows. |
| `surface-raised` | `white` (`#ffffff`) | Menus, popovers and modals. Pair it with a shadow. |
| `hairline` | `neutral-200` (`#e9e5e5`) | Dividers between rows and sections. |
| `border` | `neutral-300` (`#d7d3d3`) | The edge of a card or panel. Decoration, not information. |
| `border-strong` | `neutral-500` (`#7d7575`) | The edge of an input, checkbox or other control, which has to be seen. |
| `foreground` | `neutral-900` (`#201d1d`) | Headings and body text. |
| `foreground-secondary` | `neutral-700` (`#464141`) | Supporting copy and descriptions. |
| `foreground-muted` | `neutral-600` (`#5d5656`) | Help text, placeholders and timestamps. |
| `link` | `brand-700` (`#007d3b`) | Links and small colored text. |
| `link-hover` | `brand-800` (`#03622d`) | A link under the pointer. |
| `brand-solid` | `brand-500` (`#46ba6c`) | Selected states, highlights and brand bands. |
| `on-brand` | `neutral-900` (`#201d1d`) | Text and icons on the brand fill. |
| `action` | `cta-500` (`#f57340`) | The primary button. One per view. |
| `action-hover` | `cta-400` (`#ff9067`) | The primary button under the pointer. |
| `on-action` | `neutral-900` (`#201d1d`) | The label of the primary button. |
| `focus-ring` | `brand-600` (`#1d9c50`) | The outline around whatever has keyboard focus. |
| `disabled` | `neutral-100` (`#f5f3f3`) | The fill of a control that cannot be used. |
| `on-disabled` | `neutral-400` (`#a9a3a3`) | The label of a disabled control. Exempt from contrast rules, so never put needed information here. |
| `overlay` | `neutral-950 at 50%` (`#110f0f`) | The scrim behind a modal. |

## Status colors

Each status has six roles: a solid fill and the text on it, a tint and the text on it, a border, and text for use on the page or a card.

### Success

Something worked, or is in a good state. Your brand color is green, so success uses your brand ramp instead of adding a second green.

| Token | Value | Use |
| --- | --- | --- |
| `success-solid` | `success-700` (`#007d3b`) | Solid success buttons and badges. |
| `on-success` | `white` (`#ffffff`) | Text and icons on the success fill. |
| `success-subtle` | `success-100` (`#dff4e3`) | The background of a success alert or badge. |
| `on-success-subtle` | `success-800` (`#03622d`) | Text and icons on the success tint. |
| `success-border` | `success-600` (`#1d9c50`) | The edge of a success alert or an input in that state. |
| `success-text` | `success-700` (`#007d3b`) | Success text and icons on the page or a card. |

### Warning

Something needs attention before it becomes a problem. A standard amber, drawn on the same lightness steps as your brand ramp.

| Token | Value | Use |
| --- | --- | --- |
| `warning-solid` | `warning-400` (`#dfa840`) | Solid warning buttons and badges. |
| `on-warning` | `neutral-900` (`#201d1d`) | Text and icons on the warning fill. |
| `warning-subtle` | `warning-100` (`#f9ecd7`) | The background of a warning alert or badge. |
| `on-warning-subtle` | `warning-800` (`#6b4a00`) | Text and icons on the warning tint. |
| `warning-border` | `warning-600` (`#aa7900`) | The edge of a warning alert or an input in that state. |
| `warning-text` | `warning-700` (`#875f00`) | Warning text and icons on the page or a card. |

### Danger

Something failed, or an action cannot be undone. Moved within red to stay clear of your brand and call to action colors.

| Token | Value | Use |
| --- | --- | --- |
| `danger-solid` | `danger-700` (`#a83f45`) | Solid danger buttons and badges. |
| `on-danger` | `white` (`#ffffff`) | Text and icons on the danger fill. |
| `danger-subtle` | `danger-100` (`#ffe7e6`) | The background of a danger alert or badge. |
| `on-danger-subtle` | `danger-800` (`#853136`) | Text and icons on the danger tint. |
| `danger-border` | `danger-600` (`#cf565c`) | The edge of a danger alert or an input in that state. |
| `danger-text` | `danger-700` (`#a83f45`) | Danger text and icons on the page or a card. |

### Info

Neutral information worth noticing. A standard blue, drawn on the same lightness steps as your brand ramp.

| Token | Value | Use |
| --- | --- | --- |
| `info-solid` | `info-700` (`#106ab3`) | Solid info buttons and badges. |
| `on-info` | `white` (`#ffffff`) | Text and icons on the info fill. |
| `info-subtle` | `info-100` (`#e1efff`) | The background of a info alert or badge. |
| `on-info-subtle` | `info-800` (`#0d538e`) | Text and icons on the info tint. |
| `info-border` | `info-600` (`#2787db`) | The edge of a info alert or an input in that state. |
| `info-text` | `info-700` (`#106ab3`) | Info text and icons on the page or a card. |

## Typography

- Headings: `font-display`, 'Inter', system-ui, -apple-system, 'Segoe UI', 'Roboto', sans-serif
- Body: `font-sans`, 'Inter', system-ui, -apple-system, 'Segoe UI', 'Roboto', sans-serif
- Code: `font-mono`, 'JetBrains Mono', ui-monospace, 'SFMono-Regular', 'Menlo', 'Consolas', monospace
- License: SIL Open Font License 1.1 Source: https://rsms.me/inter/
- Body text is 16px. Larger sizes grow by 1.25 per step (major third); smaller sizes step down more gently so they stay readable. Each size has a default line height.

| Size | Value | Line height | Use |
| --- | --- | --- | --- |
| `text-xs` | 0.7901rem (12.6px) | `leading-normal` | Captions and legal lines |
| `text-sm` | 0.8889rem (14.2px) | `leading-normal` | Labels, help text and table cells |
| `text-base` | 1rem (16px) | `leading-normal` | Body text |
| `text-lg` | 1.25rem (20px) | `leading-normal` | Lead paragraphs |
| `text-xl` | 1.5625rem (25px) | `leading-snug` | Card titles |
| `text-2xl` | 1.9531rem (31.3px) | `leading-snug` | Section headings |
| `text-3xl` | 2.4414rem (39.1px) | `leading-tight` | Page headings |
| `text-4xl` | 3.0518rem (48.8px) | `leading-tight` | Large page headings |
| `text-5xl` | 3.8147rem (61px) | `leading-tight` | Display headlines |

Weights: `font-normal` (400) for body, `font-medium` (500) for labels, `font-semibold` (600) for buttons and small headings, `font-bold` (700) for headings.

## Spacing, shape, elevation and motion

- Spacing: one unit is 4px (`--spacing`). Steps: `0` 0px, `1` 4px, `2` 8px, `3` 12px, `4` 16px, `5` 20px, `6` 24px, `8` 32px, `10` 40px, `12` 48px, `16` 64px, `20` 80px, `24` 96px. Use a step, never an arbitrary value.
- Radii: `radius-none` 0px (tables and full-width bands); `radius-sm` 3px (checkboxes, badges, small chips); `radius-md` 6px (buttons and inputs); `radius-lg` 9px (cards and alerts); `radius-xl` 12px (modals and large panels); `radius-full` 9999px (pills, avatars and switches).
- Border widths: `--border-width-thin` 1px (dividers, cards and inputs); `--border-width-medium` 2px (selected and emphasised edges); `--border-width-thick` 4px (the accent edge of an alert). Focus ring: 2px wide, 2px away.
- Shadows, lowest to highest: `shadow-xs` (inputs and resting buttons); `shadow-sm` (cards); `shadow-md` (dropdowns and popovers); `shadow-lg` (sticky bars and toasts); `shadow-xl` (modals). They are tinted with `neutral-950`. Use the lowest that separates the layer.
- Durations: `--duration-fast` 100ms (hover and press feedback); `--duration-base` 200ms (most transitions); `--duration-slow` 300ms (panels and modals entering); `--duration-slower` 500ms (large page-level movement).
- Easings: `ease-standard` (things that move and stay on screen); `ease-out` (things entering the screen); `ease-in` (things leaving the screen); `ease-in-out` (things that move from one place to another).
- Reduced motion: the stylesheet shortens every duration inside `@media (prefers-reduced-motion: reduce)`. Keep that block, time every transition with a duration token, and do not add motion that carries meaning on its own.

## Pairs that pass

Measured for this palette. Each meets WCAG AA.

| Use | Foreground | Background | Contrast | Needs |
| --- | --- | --- | --- | --- |
| Text on the page | `foreground` | `background` | 15.98:1 | 4.5:1 |
| Text on a surface | `foreground` | `surface` | 16.73:1 | 4.5:1 |
| Secondary text on the page | `foreground-secondary` | `background` | 9.58:1 | 4.5:1 |
| Secondary text on a surface | `foreground-secondary` | `surface` | 10.03:1 | 4.5:1 |
| Muted text on the page | `foreground-muted` | `background` | 6.84:1 | 4.5:1 |
| Muted text on a surface | `foreground-muted` | `surface` | 7.16:1 | 4.5:1 |
| Links on the page | `link` | `background` | 5.02:1 | 4.5:1 |
| Links on a surface | `link` | `surface` | 5.25:1 | 4.5:1 |
| Text on the brand fill | `on-brand` | `brand-solid` | 6.77:1 | 4.5:1 |
| Label of the primary button | `on-action` | `action` | 5.90:1 | 4.5:1 |
| Label of the primary button, hovered | `on-action` | `action-hover` | 7.52:1 | 4.5:1 |
| Edge of a control on the page | `border-strong` | `background` | 4.29:1 | 3:1 |
| Edge of a control on a surface | `border-strong` | `surface` | 4.49:1 | 3:1 |
| Focus ring on the page | `focus-ring` | `background` | 3.39:1 | 3:1 |
| Focus ring on a surface | `focus-ring` | `surface` | 3.55:1 | 3:1 |
| Text on the success fill | `on-success` | `success-solid` | 5.25:1 | 4.5:1 |
| Text on the success tint | `on-success-subtle` | `success-subtle` | 6.52:1 | 4.5:1 |
| Success border on a surface | `success-border` | `surface` | 3.55:1 | 3:1 |
| Success border around its tint | `success-border` | `success-subtle` | 3.07:1 | 3:1 |
| Success text on the page | `success-text` | `background` | 5.02:1 | 4.5:1 |
| Text on the warning fill | `on-warning` | `warning-solid` | 7.82:1 | 4.5:1 |
| Text on the warning tint | `on-warning-subtle` | `warning-subtle` | 6.91:1 | 4.5:1 |
| Warning border on a surface | `warning-border` | `surface` | 3.86:1 | 3:1 |
| Warning border around its tint | `warning-border` | `warning-subtle` | 3.31:1 | 3:1 |
| Warning text on the page | `warning-text` | `background` | 5.47:1 | 4.5:1 |
| Text on the danger fill | `on-danger` | `danger-solid` | 6.07:1 | 4.5:1 |
| Text on the danger tint | `on-danger-subtle` | `danger-subtle` | 7.16:1 | 4.5:1 |
| Danger border on a surface | `danger-border` | `surface` | 4.09:1 | 3:1 |
| Danger border around its tint | `danger-border` | `danger-subtle` | 3.47:1 | 3:1 |
| Danger text on the page | `danger-text` | `background` | 5.79:1 | 4.5:1 |
| Text on the info fill | `on-info` | `info-solid` | 5.62:1 | 4.5:1 |
| Text on the info tint | `on-info-subtle` | `info-subtle` | 6.80:1 | 4.5:1 |
| Info border on a surface | `info-border` | `surface` | 3.77:1 | 3:1 |
| Info border around its tint | `info-border` | `info-subtle` | 3.23:1 | 3:1 |
| Info text on the page | `info-text` | `background` | 5.37:1 | 4.5:1 |

## Pairs to avoid

These fall below WCAG AA with this palette. Do not use them.

| Use | Foreground | Background | Contrast | Needs |
| --- | --- | --- | --- | --- |
| White text on the brand fill | `white` | `brand-solid` | 2.47:1 | 4.5:1 |
| White text on the primary button | `white` | `action` | 2.83:1 | 4.5:1 |
| Dark text on the success fill | `foreground` | `success-solid` | 3.18:1 | 4.5:1 |
| White text on the warning fill | `white` | `warning-solid` | 2.14:1 | 4.5:1 |
| Dark text on the danger fill | `foreground` | `danger-solid` | 2.76:1 | 4.5:1 |
| Dark text on the info fill | `foreground` | `info-solid` | 2.98:1 | 4.5:1 |

## Brand bands on marketing pages

A marketing section sits on one of four backgrounds: white, `neutral-100`, `brand-500` or `neutral-900`. Use the dark one at most once per page.

| Use | Foreground | Background | Contrast | Needs |
| --- | --- | --- | --- | --- |
| Headlines and body on paper | `#201d1d` | `#ffffff` | 16.73:1 | 4.5:1 |
| Secondary text on paper | `#5d5656` | `#ffffff` | 7.16:1 | 4.5:1 |
| Secondary text on soft bands and cards | `#5d5656` | `#f5f3f3` | 6.48:1 | 4.5:1 |
| Links and eyebrows on paper | `#007d3b` | `#ffffff` | 5.25:1 | 4.5:1 |
| Text on the brand band | `#201d1d` | `#46ba6c` | 6.77:1 | 4.5:1 |
| Label on the call to action button | `#201d1d` | `#f57340` | 5.90:1 | 4.5:1 |
| Text on the ink band | `#ffffff` | `#201d1d` | 16.73:1 | 4.5:1 |
| Numerals and eyebrows on the ink band | `#6ccb86` | `#201d1d` | 8.39:1 | 4.5:1 |
| Card numerals (large only) | `#1d9c50` | `#f5f3f3` | 3.21:1 | 3:1 |

Do not use these band pairs:

| Use | Foreground | Background | Contrast | Needs |
| --- | --- | --- | --- | --- |
| White text on the brand band | `#ffffff` | `#46ba6c` | 2.47:1 | 4.5:1 |
| White text on the call to action button | `#ffffff` | `#f57340` | 2.83:1 | 4.5:1 |

## Ramps

### Brand (`brand`)

The brand color. Hero and closing bands, numerals, highlights. Links and small colored text use 700.

- `brand-50`: `#f1faf3`
- `brand-100`: `#dff4e3`
- `brand-200`: `#c2e9ca`
- `brand-300`: `#9bdbaa`
- `brand-400`: `#6ccb86`
- `brand-500`: `#46ba6c` (a picked color)
- `brand-600`: `#1d9c50`
- `brand-700`: `#007d3b`
- `brand-800`: `#03622d`
- `brand-900`: `#064b23`
- `brand-950`: `#002d11`

### Call to action (`cta`)

The primary call to action, and nothing else. One per view.

- `cta-50`: `#fff5f1`
- `cta-100`: `#ffe8e0`
- `cta-200`: `#ffd2c2`
- `cta-300`: `#ffb59a`
- `cta-400`: `#ff9067`
- `cta-500`: `#f57340` (a picked color)
- `cta-600`: `#d5561e`
- `cta-700`: `#ad3e07`
- `cta-800`: `#893106`
- `cta-900`: `#6a2507`
- `cta-950`: `#411301`

### Neutral (`neutral`)

Text, dark bands and quiet surfaces, tinted toward your ink color.

- `neutral-50`: `#fcf9f9`
- `neutral-100`: `#f5f3f3`
- `neutral-200`: `#e9e5e5`
- `neutral-300`: `#d7d3d3`
- `neutral-400`: `#a9a3a3`
- `neutral-500`: `#7d7575`
- `neutral-600`: `#5d5656`
- `neutral-700`: `#464141`
- `neutral-800`: `#2e2a2a`
- `neutral-900`: `#201d1d` (a picked color)
- `neutral-950`: `#110f0f`

### Success (`success`)

Something worked, or is in a good state. Your brand color is green, so success uses your brand ramp instead of adding a second green.

- `success-50`: `#f1faf3`
- `success-100`: `#dff4e3`
- `success-200`: `#c2e9ca`
- `success-300`: `#9bdbaa`
- `success-400`: `#6ccb86`
- `success-500`: `#46ba6c` (a picked color)
- `success-600`: `#1d9c50`
- `success-700`: `#007d3b`
- `success-800`: `#03622d`
- `success-900`: `#064b23`
- `success-950`: `#002d11`

### Warning (`warning`)

Something needs attention before it becomes a problem. A standard amber, drawn on the same lightness steps as your brand ramp.

- `warning-50`: `#fcf7ed`
- `warning-100`: `#f9ecd7`
- `warning-200`: `#f2dab2`
- `warning-300`: `#eac380`
- `warning-400`: `#dfa840`
- `warning-500`: `#ce9300`
- `warning-600`: `#aa7900`
- `warning-700`: `#875f00`
- `warning-800`: `#6b4a00`
- `warning-900`: `#533900`
- `warning-950`: `#322000`

### Danger (`danger`)

Something failed, or an action cannot be undone. Moved within red to stay clear of your brand and call to action colors.

- `danger-50`: `#fff5f4`
- `danger-100`: `#ffe7e6`
- `danger-200`: `#ffd1cf`
- `danger-300`: `#ffb2b1`
- `danger-400`: `#fc8e8f`
- `danger-500`: `#f07377`
- `danger-600`: `#cf565c`
- `danger-700`: `#a83f45`
- `danger-800`: `#853136`
- `danger-900`: `#672529`
- `danger-950`: `#3f1315`

### Info (`info`)

Neutral information worth noticing. A standard blue, drawn on the same lightness steps as your brand ramp.

- `info-50`: `#f2f8ff`
- `info-100`: `#e1efff`
- `info-200`: `#c5e1ff`
- `info-300`: `#9fceff`
- `info-400`: `#72b8ff`
- `info-500`: `#49a4fb`
- `info-600`: `#2787db`
- `info-700`: `#106ab3`
- `info-800`: `#0d538e`
- `info-900`: `#0b406d`
- `info-950`: `#022544`

Generated at https://www.startupquickstart.com/tools/design-system

How the system is made

Each ramp is drawn in the OKLCH color space defined in CSS Color Module Level 4 (opens in a new tab), where equal steps in lightness look equal to the eye whatever the hue. The lightness of every step is fixed, and so is the share of color each step carries. Those two curves were measured from the green, orange and warm black ramps this site runs on.

Your color is never altered. It is placed on the step whose lightness it is closest to, and the other steps take its hue. A dark navy lands near 800 and a pale yellow near 200, so step 500 is always a mid-tone that dark text can sit on.

The four status colors start from a standard green, amber, red and blue. Each can move within its own range of hues to stay clear of a vivid brand or call to action color, and the ranges do not overlap, so two statuses never look alike. If your brand color is itself green or blue, success or info uses your brand ramp instead of adding a near copy of it.

No token is assumed to be readable. For every role the generator tries ramp steps in order and keeps the first one whose measured contrast passes. Text is held to 4.5:1, as WCAG 2.2 success criterion 1.4.3, Contrast (Minimum) (opens in a new tab) defines it. The edge of a control and the focus ring are held to 3:1, from success criterion 1.4.11, Non-text Contrast (opens in a new tab). The tables above show the number for each pair, so you can see it instead of trusting us. Disabled colors are the one exception: both criteria exempt inactive controls.

All four files are written from one list of tokens, so they cannot disagree. The theme file uses Tailwind CSS theme variables (opens in a new tab), so the tokens become utilities such as bg-surface and text-foreground. The JSON file follows the Design Tokens Format Module 2025.10 (opens in a new tab), a community group report and not a W3C standard. The agent file states the roles and the rules in a form a coding agent can follow without seeing this page.

The system is light only for now. Everything is computed in your browser. Your color and scale choices are kept in the page address so the system can be shared as a link. The project name is not.