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.
- 50#f1faf3
- 100#dff4e3
- 200#c2e9ca
- 300#9bdbaa
- 400#6ccb86
- 500yours#46ba6c
- 600#1d9c50
- 700#007d3b
- 800#03622d
- 900#064b23
- 950#002d11
Call to action
The primary call to action, and nothing else. One per view.
- 50#fff5f1
- 100#ffe8e0
- 200#ffd2c2
- 300#ffb59a
- 400#ff9067
- 500yours#f57340
- 600#d5561e
- 700#ad3e07
- 800#893106
- 900#6a2507
- 950#411301
Neutral
Text, dark bands and quiet surfaces, tinted toward your ink color.
- 50#fcf9f9
- 100#f5f3f3
- 200#e9e5e5
- 300#d7d3d3
- 400#a9a3a3
- 500#7d7575
- 600#5d5656
- 700#464141
- 800#2e2a2a
- 900yours#201d1d
- 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.
- 50#f1faf3
- 100#dff4e3
- 200#c2e9ca
- 300#9bdbaa
- 400#6ccb86
- 500yours#46ba6c
- 600#1d9c50
- 700#007d3b
- 800#03622d
- 900#064b23
- 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.
- 50#fcf7ed
- 100#f9ecd7
- 200#f2dab2
- 300#eac380
- 400#dfa840
- 500#ce9300
- 600#aa7900
- 700#875f00
- 800#6b4a00
- 900#533900
- 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.
- 50#fff5f4
- 100#ffe7e6
- 200#ffd1cf
- 300#ffb2b1
- 400#fc8e8f
- 500#f07377
- 600#cf565c
- 700#a83f45
- 800#853136
- 900#672529
- 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.
- 50#f2f8ff
- 100#e1efff
- 200#c5e1ff
- 300#9fceff
- 400#72b8ff
- 500#49a4fb
- 600#2787db
- 700#106ab3
- 800#0d538e
- 900#0b406d
- 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.
| Pair | Where it is used | Tokens | Contrast | Result |
|---|---|---|---|---|
| Sample | Text on the page | foreground on background | 15.98:1 | Passes AA (4.5:1) |
| Sample | Text on a surface | foreground on surface | 16.73:1 | Passes AA (4.5:1) |
| Sample | Secondary text on the page | foreground-secondary on background | 9.58:1 | Passes AA (4.5:1) |
| Sample | Secondary text on a surface | foreground-secondary on surface | 10.03:1 | Passes AA (4.5:1) |
| Sample | Muted text on the page | foreground-muted on background | 6.84:1 | Passes AA (4.5:1) |
| Sample | Muted text on a surface | foreground-muted on surface | 7.16:1 | Passes AA (4.5:1) |
| Sample | Links on the page | link on background | 5.02:1 | Passes AA (4.5:1) |
| Sample | Links on a surface | link on surface | 5.25:1 | Passes AA (4.5:1) |
| Sample | Text on the brand fill | on-brand on brand-solid | 6.77:1 | Passes AA (4.5:1) |
| Sample | Label of the primary button | on-action on action | 5.90:1 | Passes AA (4.5:1) |
| Sample | Label of the primary button, hovered | on-action on action-hover | 7.52:1 | Passes AA (4.5:1) |
| Sample | Edge of a control on the page | border-strong on background | 4.29:1 | Passes AA (3:1) |
| Sample | Edge of a control on a surface | border-strong on surface | 4.49:1 | Passes AA (3:1) |
| Sample | Focus ring on the page | focus-ring on background | 3.39:1 | Passes AA (3:1) |
| Sample | Focus ring on a surface | focus-ring on surface | 3.55:1 | Passes AA (3:1) |
| Pair | Where it is used | Tokens | Contrast | Result |
|---|---|---|---|---|
| Sample | White text on the brand fill | white on brand-solid | 2.47:1 | Never (needs 4.5:1) |
| Sample | White text on the primary button | white on action | 2.83:1 | Never (needs 4.5:1) |
| Sample | Dark text on the success fill | foreground on success-solid | 3.18:1 | Never (needs 4.5:1) |
| Sample | White text on the warning fill | white on warning-solid | 2.14:1 | Never (needs 4.5:1) |
| Sample | Dark text on the danger fill | foreground on danger-solid | 2.76:1 | Never (needs 4.5:1) |
| Sample | Dark text on the info fill | foreground on info-solid | 2.98:1 | Never (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.
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
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
Badges
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
Table
| Invoice | Customer | Status | Amount |
|---|---|---|---|
| 1042 | Northwind Traders | Paid | 1,240.00 |
| 1043 | Blue Harbor Co. | Due soon | 860.50 |
| 1044 | Larkspur Studio | Overdue | 2,015.75 |
Modal
Delete this project?
This removes the project and its files for everyone. It cannot be undone.
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.
Headlines
Set in the darkest neutral, which takes its hue from your ink color.
Secondary text
A mid neutral that still meets the contrast needed for body copy.
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.
| Pair | Where it is used | Contrast | Result |
|---|---|---|---|
| Sample | Headlines and body on paper | 16.73:1 | Passes AA (4.5:1) |
| Sample | Secondary text on paper | 7.16:1 | Passes AA (4.5:1) |
| Sample | Secondary text on soft bands and cards | 6.48:1 | Passes AA (4.5:1) |
| Sample | Links and eyebrows on paper | 5.25:1 | Passes AA (4.5:1) |
| Sample | Text on the brand band | 6.77:1 | Passes AA (4.5:1) |
| Sample | Label on the call to action button | 5.90:1 | Passes AA (4.5:1) |
| Sample | Text on the ink band | 16.73:1 | Passes AA (4.5:1) |
| Sample | Numerals and eyebrows on the ink band | 8.39:1 | Passes AA (4.5:1) |
| Sample | Card numerals (large only) | 3.21:1 | Passes 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.
