On this page

Tokens

Every colour token name reads like a short sentence: what is painted, what it means, how strong it is and what is happening.

Every colour token name says what is painted, what it means, how strong it is and what is happening. Once you can read a name, you can usually guess the token you need without looking it up.

How names are built

color.{property}.{role}.{emphasis}.{state}. A part is left out when it is the default.

colorFoundation.backgroundProperty.dangerRole.boldEmphasis.hoverState
colorFoundation.textProperty.neutralleft outsubtleEmphasis
The solid danger fill on hover, and secondary text. A part that is the default is left out.
Part Values
Property text, icon, link, surface, background, border, skeleton
Role neutral (left out), brand, danger, warning, success, info, inverse, disabled; surfaces: page, subtle, inverse, scrim
Emphasis Text: default, subtle, subtlest. Fills: transparent (no fill at rest, translucent on hover; controls only), subtle, default, bold. Borders: default, bold
State hover, pressed, selected, focus

color.background.danger.bold.hover is the solid danger fill on hover. Two names name the fill under the text instead of a role: text.on-bold (on any solid status fill) and text.on-brand (on the brand yellow).

In CSS, write --bh- and the name with dots as hyphens: color.text.subtle is var(--bh-color-text-subtle).

Use role tokens. The palette feeds them and is never used directly (see How colour works).

Text and icons

TokenLightDarkUse
text#2B2A28#EEEEEDDefault text.Contrast 10.1:1 / 9.9:1 on background.selected.hover
text.subtle#42413F#CDCCC9Secondary text: descriptions, table secondary columns, navigation.Contrast 7.2:1 / 7.2:1 on background.selected.hover
text.subtlest#5F5E5B#A8A6A3Tertiary text: metadata, timestamps, placeholders, helper text, breadcrumbs. Meets 4.5:1 but not 7:1, so never use it for body text.Contrast 4.5:1 / 4.7:1 on background.selected.hover
text.disabled#949390#6B6A67Text of disabled controls. Exempt from contrast (WCAG 1.4.3).
text.inverse#FDFDFC#181717Text on background.neutral.bold and surface.inverse.Contrast 14.0:1 / 15.4:1 on background.neutral.bold
text.on-bold#FFFFFF#181717Text on the solid status fills (background.*.bold): white in light, graphite 1 in dark.Contrast 4.5:1 / 4.9:1 on background.danger.bold
text.on-brand#2B2A28#2B2A28Text on the brand yellow (7.76:1).Contrast 7.7:1 / 7.7:1 on background.brand.bold
link#005195#6BB3FALink text.Contrast 5.6:1 / 5.2:1 on background.selected.hover
link.hover#113264#B8DCF5Link on hover.Contrast 8.9:1 / 8.0:1 on background.selected.hover
TokenLightDarkUse
icon#42413F#CDCCC9Default icon colour.Contrast 8.0:1 / 8.2:1 on background.selected
icon.subtle#5F5E5B#A8A6A3Secondary icons, next to text.subtle or text.subtlest.Contrast 5.7:1 / 6.0:1 on background.neutral
icon.disabled#949390#6B6A67Icons of disabled controls.
icon.inverse#FDFDFC#181717Icons on background.neutral.bold and surface.inverse.Contrast 14.0:1 / 15.4:1 on background.neutral.bold
icon.on-bold#FFFFFF#181717Icons on the solid status fills.Contrast 4.5:1 / 4.9:1 on background.danger.bold

Surfaces

TokenLightDarkUse
surface.page#FFFFFF#181717Page background. The app header and side navigation sit on it too, separated by a border line.
surface#FFFFFF#201F1FCards and panels. One step lighter than the page in dark.
surface.subtle#F1F1F0#201F1FTable headers and quiet areas.
surface.inverse#2B2A28#EEEEEDInverse surface: tooltips. Text on top: text.inverse.
surface.scrimrgb(43 42 40 / 40%)rgb(0 0 0 / 60%)Behind dialogs and drawers.

Backgrounds

TokenLightDarkUse
background.neutral#F1F1F0#282827Neutral fill at rest: default buttons, tags, inputs on a subtle surface.
background.neutral.hover#E5E5E4#31302FNeutral fill on hover.
background.neutral.pressed#D9D9D8#393937Neutral fill when pressed.
background.neutral.subtletransparenttransparentTransparent at rest: table rows, menu items, ghost buttons.
background.neutral.subtle.hover#0000000C#FFFFFF09Row, menu item or ghost button on hover. Translucent, so it shows on any surface (a white card, a grey panel). Lighter than selected, so a hovered row never looks selected.
background.neutral.subtle.pressed#00000018#FFFFFF12Row, menu item or ghost button when pressed. Translucent, like the hover.
background.neutral.transparent.hover#00000018#FFFFFF12A control with no fill at rest (Subtle and Default buttons) on hover. One step stronger than color.background.neutral.subtle.hover, which rows and menu items use so a hovered row never looks like a selected one. Translucent, so it shows on any surface.
background.neutral.transparent.pressed#00000024#FFFFFF1AA control with no fill at rest while pressed. Translucent.
background.neutral.bold#2B2A28#EEEEEDPrimary button. Graphite in light; turns light in dark, so it stays the strongest element.
background.neutral.bold.hover#42413F#CDCCC9Primary button on hover: one step back from graphite 12, as it is the last step.
background.neutral.bold.pressed#5F5E5B#A8A6A3Primary button when pressed: two steps back from graphite 12.
background.selected#E5E5E4#31302FSelected row or item. Always add a second cue: the yellow indicator, a check or bold text.
background.selected.hover#D9D9D8#393937Selected row or item on hover.
background.disabled#F1F1F0#282827Background of disabled controls.
background.brand.subtle#FFF9DD#1D170FBrand surfaces and notes.
background.brand.bold#FCB017#FCB017Brand yellow fill. Graphite text on top (text.on-brand). No yellow buttons.

Borders

TokenLightDarkUse
border#BDBCBB#454443Default border: dividers, cards, tables.
border.bold#7B7976#878682Edges of inputs, checkboxes and selects. 3:1 (WCAG 1.4.11) on every surface and neutral fill, selected rows included.Contrast 3.8:1 / 4.0:1 on background.neutral
border.disabled#BDBCBB#454443Border of disabled controls.
border.focus#005195#6BB3FAFocus ring: 2 px, 2 px away from the control. 3:1 on every surface and selected row. Text fields: their 1 px border turns this colour and a 2 px inset ring of the same colour sits inside it, a 3 px solid edge with no halo.Contrast 6.3:1 / 5.9:1 on background.selected
border.selected#A96700#FCB017Indicator bar of the current page or tab. Yellow 9 in light, so the bar reaches 3:1 on the page and on background.selected; brand yellow in dark. Always with a second cue.
border.brand#FCB017#FCB017Brand outline, such as the early-access label.
border.brand.subtle#FFC757#61400CBorder of brand surfaces and notes.

Missing a token

  1. Check Find the token and the list below.
  2. Ask the design system team. Say where you need it, and propose a name from the four parts that points at a step with the right job (fill at 3, border at 7, text at 11).
  3. The team checks its contrast in both themes and adds it. Use it only after it is released.

All colour tokens

Role tokens. A dash means the part is left out and takes its default: neutral for the role, the default emphasis, the resting state. on-bold and on-brand name the fill the text sits on rather than a role. Component tokens are marked.

TokenPropertyRoleEmphasisStateLight / dark
color.text--bh-color-texttext–––#2B2A28#EEEEED
color.text.subtle--bh-color-text-subtletext–subtle–#42413F#CDCCC9
color.text.subtlest--bh-color-text-subtlesttext–subtlest–#5F5E5B#A8A6A3
color.text.disabled--bh-color-text-disabledtextdisabled––#949390#6B6A67
color.text.inverse--bh-color-text-inversetextinverse––#FDFDFC#181717
color.text.on-bold--bh-color-text-on-boldtexton-bold––#FFFFFF#181717
color.text.on-brand--bh-color-text-on-brandtexton-brand––#2B2A28#2B2A28
color.text.danger--bh-color-text-dangertextdanger––#9B1E20#FF8E84
color.text.warning--bh-color-text-warningtextwarning––#8A3600#F5974E
color.text.success--bh-color-text-successtextsuccess––#005C3A#5EC18A
color.text.info--bh-color-text-infotextinfo––#005195#6BB3FA
color.icon--bh-color-iconicon–––#42413F#CDCCC9
color.icon.subtle--bh-color-icon-subtleicon–subtle–#5F5E5B#A8A6A3
color.icon.disabled--bh-color-icon-disabledicondisabled––#949390#6B6A67
color.icon.inverse--bh-color-icon-inverseiconinverse––#FDFDFC#181717
color.icon.on-bold--bh-color-icon-on-boldiconon-bold––#FFFFFF#181717
color.icon.danger--bh-color-icon-dangericondanger––#9B1E20#FF8E84
color.icon.warning--bh-color-icon-warningiconwarning––#8A3600#F5974E
color.icon.success--bh-color-icon-successiconsuccess––#005C3A#5EC18A
color.icon.info--bh-color-icon-infoiconinfo––#005195#6BB3FA
color.link--bh-color-linklink–––#005195#6BB3FA
color.link.hover--bh-color-link-hoverlink––hover#113264#B8DCF5
color.background.primary--bh-color-background-primarybackgroundprimary––#2B2A28#EEEEED
color.background.primary.hover--bh-color-background-primary-hoverbackgroundprimary–hover#42413F#CDCCC9
color.background.primary.pressed--bh-color-background-primary-pressedbackgroundprimary–pressed#5F5E5B#A8A6A3
color.background.neutral--bh-color-background-neutralbackgroundneutral––#F1F1F0#282827
color.background.neutral.hover--bh-color-background-neutral-hoverbackgroundneutral–hover#E5E5E4#31302F
color.background.neutral.pressed--bh-color-background-neutral-pressedbackgroundneutral–pressed#D9D9D8#393937
color.background.neutral.subtle--bh-color-background-neutral-subtlebackgroundneutralsubtle–transparenttransparent
color.background.neutral.subtle.hover--bh-color-background-neutral-subtle-hoverbackgroundneutralsubtlehover#0000000C#FFFFFF09
color.background.neutral.subtle.pressed--bh-color-background-neutral-subtle-pressedbackgroundneutralsubtlepressed#00000018#FFFFFF12
color.background.neutral.bold--bh-color-background-neutral-boldbackgroundneutralbold–#2B2A28#EEEEED
color.background.neutral.bold.hover--bh-color-background-neutral-bold-hoverbackgroundneutralboldhover#42413F#CDCCC9
color.background.neutral.bold.pressed--bh-color-background-neutral-bold-pressedbackgroundneutralboldpressed#5F5E5B#A8A6A3
color.background.neutral.transparent.hover--bh-color-background-neutral-transparent-hoverbackgroundneutraltransparenthover#00000018#FFFFFF12
color.background.neutral.transparent.pressed--bh-color-background-neutral-transparent-pressedbackgroundneutraltransparentpressed#00000024#FFFFFF1A
color.background.selected--bh-color-background-selectedbackground––selected#E5E5E4#31302F
color.background.selected.hover--bh-color-background-selected-hoverbackground––selected hover#D9D9D8#393937
color.background.disabled--bh-color-background-disabledbackgrounddisabled––#F1F1F0#282827
color.background.brand.subtle--bh-color-background-brand-subtlebackgroundbrandsubtle–#FFF9DD#1D170F
color.background.brand.bold--bh-color-background-brand-boldbackgroundbrandbold–#FCB017#FCB017
color.background.danger.subtle--bh-color-background-danger-subtlebackgrounddangersubtle–#FEEBE9#3B1310
color.background.danger.subtle.hover--bh-color-background-danger-subtle-hoverbackgrounddangersubtlehover#FFDBD7#50100F
color.background.danger.subtle.pressed--bh-color-background-danger-subtle-pressedbackgrounddangersubtlepressed#FFCEC8#611716
color.background.danger--bh-color-background-dangerbackgrounddanger––#FFCEC8#611716
color.background.danger.bold--bh-color-background-danger-boldbackgrounddangerbold–#D83B39#EF4C48
color.background.danger.bold.hover--bh-color-background-danger-bold-hoverbackgrounddangerboldhover#BA2D2D#FF615A
color.background.danger.bold.pressed--bh-color-background-danger-bold-pressedbackgrounddangerboldpressed#9B1E20#FF8E84
color.background.warning.subtle--bh-color-background-warning-subtlebackgroundwarningsubtle–#FFEFD6#331E0B
color.background.warning.subtle.hover--bh-color-background-warning-subtle-hoverbackgroundwarningsubtlehover#FFDFB5#462100
color.background.warning.subtle.pressed--bh-color-background-warning-subtle-pressedbackgroundwarningsubtlepressed#FFD19A#562800
color.background.warning--bh-color-background-warningbackgroundwarning––#FFD19A#562800
color.background.warning.bold--bh-color-background-warning-boldbackgroundwarningbold–#BA4E00#DB6200
color.background.warning.bold.hover--bh-color-background-warning-bold-hoverbackgroundwarningboldhover#A74500#EF7200
color.background.warning.bold.pressed--bh-color-background-warning-bold-pressedbackgroundwarningboldpressed#8A3600#F5974E
color.background.success.subtle--bh-color-background-success-subtlebackgroundsuccesssubtle–#E6F6EB#132D21
color.background.success.subtle.hover--bh-color-background-success-subtle-hoverbackgroundsuccesssubtlehover#D6F1DF#113B29
color.background.success.subtle.pressed--bh-color-background-success-subtle-pressedbackgroundsuccesssubtlepressed#C4E8D1#174933
color.background.success--bh-color-background-successbackgroundsuccess––#C4E8D1#174933
color.background.success.bold--bh-color-background-success-boldbackgroundsuccessbold–#008753#1F9962
color.background.success.bold.hover--bh-color-background-success-bold-hoverbackgroundsuccessboldhover#007246#37A971
color.background.success.bold.pressed--bh-color-background-success-bold-pressedbackgroundsuccessboldpressed#005C3A#5EC18A
color.background.info.subtle--bh-color-background-info-subtlebackgroundinfosubtle–#E6F4FE#0D2847
color.background.info.subtle.hover--bh-color-background-info-subtle-hoverbackgroundinfosubtlehover#D5EFFF#003362
color.background.info.subtle.pressed--bh-color-background-info-subtle-pressedbackgroundinfosubtlepressed#C2E5FF#004074
color.background.info--bh-color-background-infobackgroundinfo––#C2E5FF#004074
color.background.info.bold--bh-color-background-info-boldbackgroundinfobold–#0077D5#0088F1
color.background.info.bold.hover--bh-color-background-info-bold-hoverbackgroundinfoboldhover#0064B5#3599FA
color.background.info.bold.pressed--bh-color-background-info-bold-pressedbackgroundinfoboldpressed#005195#6BB3FA
color.surface--bh-color-surfacesurface–––#FFFFFF#201F1F
color.surface.page--bh-color-surface-pagesurfacepage––#FFFFFF#181717
color.surface.subtle--bh-color-surface-subtlesurface–subtle–#F1F1F0#201F1F
color.surface.overlay--bh-color-surface-overlaysurfaceoverlay––#FFFFFF#282827
color.surface.overlay.hover--bh-color-surface-overlay-hoversurfaceoverlay–hover#F1F1F0#31302F
color.surface.overlay.pressed--bh-color-surface-overlay-pressedsurfaceoverlay–pressed#E5E5E4#393937
color.surface.overlay.selected--bh-color-surface-overlay-selectedsurfaceoverlay–selected#E5E5E4#393937
color.surface.overlay.selected.hover--bh-color-surface-overlay-selected-hoversurfaceoverlay–selected hover#D9D9D8#393937
color.surface.inverse--bh-color-surface-inversesurfaceinverse––#2B2A28#EEEEED
color.surface.scrim--bh-color-surface-scrimsurfacescrim––rgb(43 42 40 / 40%)rgb(0 0 0 / 60%)
color.border--bh-color-borderborder–––#BDBCBB#454443
color.border.bold--bh-color-border-boldborder–bold–#7B7976#878682
color.border.hover--bh-color-border-hoverborder––hover#AAA9A8#555452
color.border.disabled--bh-color-border-disabledborderdisabled––#BDBCBB#454443
color.border.focus--bh-color-border-focusborder––focus#005195#6BB3FA
color.border.selected--bh-color-border-selectedborder––selected#A96700#FCB017
color.border.brand--bh-color-border-brandborderbrand––#FCB017#FCB017
color.border.brand.subtle--bh-color-border-brand-subtleborderbrandsubtle–#FFC757#61400C
color.border.danger--bh-color-border-dangerborderdanger––#D83B39#FF615A
color.border.danger.subtle--bh-color-border-danger-subtleborderdangersubtle–#F4AAA2#8C3430
color.border.warning--bh-color-border-warningborderwarning––#BA4E00#EF7200
color.border.warning.subtle--bh-color-border-warning-subtleborderwarningsubtle–#F5AE73#7E451D
color.border.success--bh-color-border-successbordersuccess––#008753#37A971
color.border.success.subtle--bh-color-border-success-subtlebordersuccesssubtle–#8ECEAA#28684A
color.border.info--bh-color-border-infoborderinfo––#0077D5#3599FA
color.border.info.subtle--bh-color-border-info-subtleborderinfosubtle–#8EC8F6#205D9E
color.skeleton--bh-color-skeletonskeleton–––#D9D9D8#31302F
color.skeleton.subtle--bh-color-skeleton-subtleskeleton–subtle–#E5E5E4#282827
color.code.background component--bh-color-code-backgroundcodebackground––#2B2A28#181717
color.code.text component--bh-color-code-textcodetext––#F1F1F0#EEEEED

Scale tokens: color.{scale}.{1–12} for graphite, yellow, blue, green, orange, red, for example color.graphite.12 (--bh-color-graphite-12). Their values are on the Palette page. Components don't use them directly.

TokenValueUse
color.brand.yellow--bh-color-brand-yellow#FCB017Brand yellow. Logo, highlights, and the current-page indicator in dark (light uses color.yellow.9 for it). Never text or icons on a light background (1.85:1 on white).
color.brand.graphite--bh-color-brand-graphite#2B2A28Brand graphite. Text and the primary button.
color.brand.white--bh-color-brand-white#FFFFFFBrand white.
color.static.white--bh-color-static-white#FFFFFFWhite in both themes. text.on-bold and icon.on-bold use it in light only; in dark they take graphite 1.
color.static.black--bh-color-static-black#000000Black in both themes.