Guidelines · Color
Every colour, and what it is for
The full palette, grouped by the job each colour does. A token is a named design value, like accent.signal.fill. Pick a colour here by its role, then use its token name in your work, never the raw colour value. Each card also shows its contrast ratio, a measure of how much the colour stands out from what it sits on. Every value and ratio is read live from the theme you're viewing, so switching the theme updates the whole page.
Signal, the brand colour
The one colour that means "act here". Everything else on the page is a grey, so wherever you see orange, it's an action, a highlighted row or the focus ring (the outline that shows where the keyboard is). Orange gets three roles because it's used three ways: as a fill, as text, and as the ink (text and icons) that sits on top of that fill.
The one primary button on a page, checked controls, progress fills. Never a selected or current item.
Orange text on the page: eyebrows (the small label above a heading), links, highlighted words.
Text and icons placed on a signal fill, like a primary button label.
The faint tint that appears when you hover over a navigation item or an inactive tab. Text on it switches to text.primary. The focus ring and checked controls never sit on it.
The keyboard focus outline on every control.
Surfaces
The background layers everything sits on. Depth comes from stepping between these and from hairlines (thin 1-pixel lines). Shadows aren't used for it.
The page itself.
Recessed areas: form control fills, tag and tooltip backgrounds.
Any selected, current or pressed item: a picked option, a segment, the current page, a pressed toggle. Neutral, never orange.
Panels and cards that sit above the page. It's see-through, so it tints whatever is under it.
Dims the page behind a dialog, a sheet (a panel that slides in from the edge) or the command palette. Nothing under it can be clicked or focused while it's showing.
Text
Five greys, from the loudest to the quietest. Every one reaches a contrast ratio of at least 4.5:1 against the surface it's used on. That's the minimum WCAG (the Web Content Accessibility Guidelines) sets for normal-size text. So you pick a grey for how much it should stand out, and readability never suffers.
Headings, body copy, control values.
Supporting copy, ledes (the intro paragraph under a page title), navigation items when nothing is happening to them.
Metadata (details like dates and counts), captions, eyebrows.
Group labels over a list, like GUIDELINES and ATOMS in the sidebar.
Placeholder text inside an empty field.
Borders
Hairlines are decoration, so they have no contrast requirement. The two control borders carry information: they're the only visible edge of an input or a checkbox. So each one has to reach 3:1 against the fill it surrounds.
Dividers and quiet panel edges.
Section rules, panel frames, tag and tooltip edges.
The boundary of inputs, selects, textareas and secondary buttons.
The boundary of checkboxes, radio buttons and switches. It's a step brighter because the box is small.
Status
Four colours that report the state of something. Each has the same three roles as signal (fill, text and ink). Colour is never the only clue: every status also comes with a word or an icon.
Errors, destructive actions, invalid fields. Always behind hostile ink text, which is the pair that is measured.
Hostile type on the page.
Text on a hostile fill.
Success and healthy states. Always behind ok ink text, which is the pair that is measured.
Ok type on the page.
Text on a ok fill.
Neutral notices. Always behind info ink text, which is the pair that is measured.
Info type on the page.
Text on a info fill.
Caution: something needs attention soon. Always behind warning ink text, which is the pair that is measured.
Warning type on the page.
Text on a warning fill.
Severity scale
Six ordered steps, from 1 (lowest) to 6, for a measure that has more levels than the four status colours, like air quality from Good to Hazardous. Use it when the levels have an order and each needs its own colour; use a status colour when the state is simply good, bad or worth a look. The fills darken from green to maroon in both themes. Each step has the same three roles as a status (fill, text and ink), and a severity badge always carries the level's word: the colour is never the message on its own.
Step 1 of 6 (air quality: Good). The same in both themes. Always behind its ink text, which is the pair that is measured.
Step 1 type and outline on the page (a subtle badge).
Text on the step 1 fill.
Step 2 of 6 (air quality: Moderate). The same in both themes. Always behind its ink text, which is the pair that is measured.
Step 2 type and outline on the page (a subtle badge).
Text on the step 2 fill.
Step 3 of 6 (air quality: Unhealthy for sensitive groups). The same in both themes. Always behind its ink text, which is the pair that is measured.
Step 3 type and outline on the page (a subtle badge).
Text on the step 3 fill.
Step 4 of 6 (air quality: Unhealthy). The same in both themes. Always behind its ink text, which is the pair that is measured.
Step 4 type and outline on the page (a subtle badge).
Text on the step 4 fill.
Step 5 of 6 (air quality: Very unhealthy). The same in both themes. Always behind its ink text, which is the pair that is measured.
Step 5 type and outline on the page (a subtle badge).
Text on the step 5 fill.
Step 6 of 6 (air quality: Hazardous). The same in both themes. Always behind its ink text, which is the pair that is measured.
Step 6 type and outline on the page (a subtle badge).
Text on the step 6 fill.
Category
Ten colours for labels people make themselves, like a project tag or a topic. A category colour means "these belong together", never good or bad, so it is never used for a status. Each has the same three roles (fill, text and ink), and a category badge always carries its label.
A solid gray label. The same in both themes. Always behind its ink text, which is the pair that is measured.
Gray label text and outline on the page.
Text on the gray fill.
A solid brown label. The same in both themes. Always behind its ink text, which is the pair that is measured.
Brown label text and outline on the page.
Text on the brown fill.
A solid orange label. The same in both themes. Always behind its ink text, which is the pair that is measured.
Orange label text and outline on the page.
Text on the orange fill.
A solid yellow label. The same in both themes. Always behind its ink text, which is the pair that is measured.
Yellow label text and outline on the page.
Text on the yellow fill.
A solid green label. The same in both themes. Always behind its ink text, which is the pair that is measured.
Green label text and outline on the page.
Text on the green fill.
A solid teal label. The same in both themes. Always behind its ink text, which is the pair that is measured.
Teal label text and outline on the page.
Text on the teal fill.
A solid blue label. The same in both themes. Always behind its ink text, which is the pair that is measured.
Blue label text and outline on the page.
Text on the blue fill.
A solid purple label. The same in both themes. Always behind its ink text, which is the pair that is measured.
Purple label text and outline on the page.
Text on the purple fill.
A solid pink label. The same in both themes. Always behind its ink text, which is the pair that is measured.
Pink label text and outline on the page.
Text on the pink fill.
A solid red label. The same in both themes. Always behind its ink text, which is the pair that is measured.
Red label text and outline on the page.
Text on the red fill.
Ramps
Ramps are the raw colour scales, in steps from 50 to 950, that every token above is picked from. Components never use these directly. They use the role tokens, so a theme can point a role at a different colour without anyone touching a component. They're shown here so you can see where each role sits on its scale.