Markdown
The specification
color-specification.md
Ten sections, from scope and roles to allowed pairs, states, the change process and sign-off, filled in for Example Shop. Replace the example with your own.
- Format
- Markdown text (.md)
- Size
- 7,852 bytes
- Contents
- 115 lines
Preview: the first 22 lines
# Color specification: Example Shop
Template version 1.0, 2026-10-12, from https://auricartisan.com/templates/color-specification/
Licence: CC0 1.0 Universal (public domain). Replace the example with your own product, roles and values.
| Field | Value |
| --- | --- |
| Product | Example Shop web store and order emails |
| Owner | Design systems team, [email protected] |
| Status | Approved |
| Specification version | 3.0, 2026-10-12 |
| Standard | WCAG 2.2: text at 7:1 (Level AAA, 1.4.6), interface parts at 3:1 (1.4.11) |
| Tokens | tokens.css and design.tokens.json, from the starter token system |
| Next review | 2027-04-12 |
## 1. Scope
This specification covers every color in the interface of the web store and the order emails, in the light and the dark theme. It does not cover product photos, brand illustrations or marketing campaigns, which have their own guidelines.
## 2. Color roles
Use a role, never a raw value. Each role points at one step of a color ramp in light, and another in dark.
CSV
The roles
color-roles.csv
One row for each color role: its token, its light and dark values and the ramp steps they come from, and what it is and is not for.
- Format
- Comma-separated values (RFC 4180)
- Size
- 2,948 bytes
- Contents
- 8 columns, 18 rows
Preview: the header and the first 3 rows
Role,Token,Light,Light primitive,Dark,Dark primitive,Use it for,Do not use it for
Page canvas,color-canvas,#F3F5FB,color-neutral-50,#000000,color-neutral-1000,"The page behind everything, and the gaps between cards.",Behind text: put text on a surface.
Surface,color-surface,#FFFFFF,color-neutral-0,#15161A,color-neutral-950,"The main reading area, panels and inputs.",Text: use color-text.
Raised surface,color-surface-raised,#FFFFFF,color-neutral-0,#28292D,color-neutral-900,"Cards, menus and dialogs that sit above the surface.",The page background.
The columns, in order
- Role
- Token
- Light
- Light primitive
- Dark
- Dark primitive
- Use it for
- Do not use it for
CSV
The allowed pairs
color-pairs.csv
Every allowed pair in both themes, with both colors, the ratio, the minimum it must reach and the result. Sort and filter it in a spreadsheet.
- Format
- Comma-separated values (RFC 4180)
- Size
- 2,749 bytes
- Contents
- 9 columns, 28 rows
Preview: the header and the first 4 rows
Pair,Foreground token,Background token,Theme,Foreground,Background,Contrast ratio,Minimum,Result
Body text on the surface,color-text,color-surface,Light,#15161A,#FFFFFF,18.07:1,7:1,Pass
Body text on the surface,color-text,color-surface,Dark,#FFFFFF,#15161A,18.07:1,7:1,Pass
Muted text on the surface,color-text-muted,color-surface,Light,#57585D,#FFFFFF,7.09:1,7:1,Pass
Muted text on the surface,color-text-muted,color-surface,Dark,#BCBDC4,#15161A,9.65:1,7:1,Pass
The columns, in order
- Pair
- Foreground token
- Background token
- Theme
- Foreground
- Background
- Contrast ratio
- Minimum
- Result