Foundations
Colour
Teal and navy are the brand. Product screens use the semantic tokens, which have a value in each theme.
Palette
The raw colours of the brand. Use the semantic tokens in product; use these for marks, illustration and print.
- teal
#179d9fBase palette colour. Prefer semantic roles in interface components. - teal-light
#51bab6Base palette colour. Prefer semantic roles in interface components. - seafoam
#3fc7bdBase palette colour. Prefer semantic roles in interface components. - mint
#65d7c9Base palette colour. Prefer semantic roles in interface components. - mist
#a6ebd8Base palette colour. Prefer semantic roles in interface components. - lagoon
#047283Base palette colour. Prefer semantic roles in interface components. - deep-teal
#01536bBase palette colour. Prefer semantic roles in interface components. - abyss
#003755Base palette colour. Prefer semantic roles in interface components. - midnight
#002347Base palette colour. Prefer semantic roles in interface components. - navy
#182643Base palette colour. Prefer semantic roles in interface components. - charcoal
#1d1d1bBase palette colour. Prefer semantic roles in interface components. - white
#ffffffBase palette colour. Prefer semantic roles in interface components. - paper
#f8f8f8Base palette colour. Prefer semantic roles in interface components. - slate
#a9b3c0Base palette colour. Prefer semantic roles in interface components. - coral
#f08868Base palette colour. Prefer semantic roles in interface components. - lime
#a3c962Base palette colour. Prefer semantic roles in interface components. - magenta
#8f2462Base palette colour. Prefer semantic roles in interface components. - plum
#5e256fBase palette colour. Prefer semantic roles in interface components. - snow
#f7f9faBase palette colour. Prefer semantic roles in interface components.
Semantic tokens
Each token has one value per theme. Translucent colours are shown laid over the theme's ground.
| Token | Light | Dark | Black | Use |
|---|---|---|---|---|
surface | #f8f8f8 | #10252d | #1d1d1b | Page background. Black uses near-black charcoal. |
surface-raised | #ffffff | #19333c | #2b2b29 | Cards and panels over the page background. |
surface-inverse | #182643 | #f8f8f8 | #f8f8f8 | Contrasting surfaces paired with ink-inverse. |
ink | #182643 | #e3f4f5 | #ffffff | Primary text on normal and raised surfaces. |
ink-muted | #525d72 | #b1cbd1 | #c4c4c4 | Secondary text and supporting descriptions. |
ink-inverse | #ffffff | #182643 | #1d1d1b | Text on inverse surfaces. |
border | #d4d6db | #38545d | #41413f | Decorative dividers and subtle card outlines. |
border-strong | #727a8b | #84979b | #999998 | Visible boundaries for interactive controls. |
accent | #179d9f | #51ded4 | #179d9f | Accent fills and non-text markers. |
on-accent | #182643 | #10252d | #1d1d1b | Readable text and icons on accent fills. |
accent-text | #047283 | #51ded4 | #3fc7bd | Links and accent-coloured text. |
focus-ring | #047283 | #51ded4 | #3fc7bd | Keyboard focus outline. |
accent-strong | #047283 | #51ded4 | #179d9f | Primary action fill, paired with on-accent-strong. |
on-accent-strong | #ffffff | #10252d | #1d1d1b | Text and icons on primary actions. |
accent-strong-hover | #01536b | #74e5dd | #3fc7bd | Primary action hover and pressed fill. |
accent-soft | #d3f2ea | #193f44 | #223532 | Subtle selected and highlighted surfaces. |
accent-soft-border | #afd0d5 | #245d5f | #27504c | Decorative boundary for subtle accent surfaces. |
danger | #c53030 | #f56565 | #f56565 | Destructive action fill. |
on-danger | #ffffff | #10252d | #1d1d1b | Text and icons on destructive actions. |
danger-hover | #9b2c2c | #fc8181 | #fc8181 | Destructive action hover and pressed fill. |
surface-sunken | #eff0f1 | #182d35 | #262624 | Inset areas, table headings and neutral badges. |
surface-hover | #ebebed | #21363d | #2f2f2d | Hover fill for rows and quiet controls. |
scrim | #888f9e | #060f12 | #090908 | Backdrop behind modal surfaces. |
disabled-bg | #e6e7ea | #253a41 | #343432 | Disabled control background. |
disabled-fg | #939aa7 | #6f8287 | #838382 | Disabled control text and icons. |
success-bg | #f0fff4 | #183a38 | #233328 | Background for success messages. Include a readable label. |
success-fg | #276749 | #9ae6b4 | #9ae6b4 | Text and icons for success messages. Include a readable label. |
success-border | #c6f6d5 | #204f42 | #294935 | Decorative border for success messages. Include a readable label. |
success-solid | #38a169 | #48bb78 | #48bb78 | Non-text marks for success messages. Include a readable label. |
warning-bg | #fffaf0 | #2f332e | #3a2c1f | Background for warning messages. Include a readable label. |
warning-fg | #9c4221 | #fbd38d | #fbd38d | Text and icons for warning messages. Include a readable label. |
warning-border | #feebc8 | #4e4130 | #573b23 | Decorative border for warning messages. Include a readable label. |
warning-solid | #dd6b20 | #ed8936 | #ed8936 | Non-text marks for warning messages. Include a readable label. |
error-bg | #fff5f5 | #302e35 | #3b2725 | Background for error messages. Include a readable label. |
error-fg | #c53030 | #feb2b2 | #feb2b2 | Text and icons for error messages. Include a readable label. |
error-border | #fed7d7 | #50373d | #593130 | Decorative border for error messages. Include a readable label. |
error-solid | #e53e3e | #f56565 | #f56565 | Non-text marks for error messages. Include a readable label. |
info-bg | #ebf8ff | #173546 | #222e37 | Background for info messages. Include a readable label. |
info-fg | #2c5282 | #90cdf4 | #90cdf4 | Text and icons for info messages. Include a readable label. |
info-border | #bee3f8 | #1e455f | #274052 | Decorative border for info messages. Include a readable label. |
info-solid | #3182ce | #4299e1 | #4299e1 | Non-text marks for info messages. Include a readable label. |
chart-1 | #047283 | #51ded4 | #3fc7bd | Chart series 1. Pair colour with direct labels. |
chart-2 | #8f2462 | #f08868 | #f08868 | Chart series 2. Pair colour with direct labels. |
chart-3 | #a85f49 | #a3c962 | #a3c962 | Chart series 3. Pair colour with direct labels. |
chart-4 | #182643 | #a6ebd8 | #a6ebd8 | Chart series 4. Pair colour with direct labels. |
Contrast
Measured from the tokens when this site is built. Text needs 4.5:1, focus and graphics 3:1.
| Text on ground | Light | Dark | Black |
|---|---|---|---|
ink / surface | 14.15:1 Pass | 13.99:1 Pass | 16.88:1 Pass |
ink-muted / surface | 6.27:1 Pass | 9.31:1 Pass | 9.70:1 Pass |
ink-muted / surface-raised | 6.47:1 Pass | 7.80:1 Pass | 8.51:1 Pass |
accent-text / surface | 5.29:1 Pass | 9.63:1 Pass | 8.13:1 Pass |
on-accent-strong / accent-strong | 5.62:1 Pass | 9.63:1 Pass | 5.11:1 Pass |
on-accent / accent | 4.55:1 Pass | 9.63:1 Pass | 5.11:1 Pass |
on-danger / danger | 5.47:1 Pass | 5.23:1 Pass | 5.57:1 Pass |
success-fg / success-bg | 6.51:1 Pass | 8.44:1 Pass | 9.10:1 Pass |
warning-fg / warning-bg | 6.28:1 Pass | 9.06:1 Pass | 9.48:1 Pass |
error-fg / error-bg | 5.11:1 Pass | 7.80:1 Pass | 8.12:1 Pass |
info-fg / info-bg | 7.36:1 Pass | 7.46:1 Pass | 8.04:1 Pass |
focus-ring / surface | 5.29:1 Pass | 9.63:1 Pass | 8.13:1 Pass |
Guidance
Use semantic roles such as surface, ink, accent-strong and on-accent-strong in components. Raw colours are available for custom themes, but a colour change must preserve readable foreground/background pairs.
Light uses a paper surface, Dark uses a deep teal-ink surface with a pale aqua accent (the same Dark as Cave Forms), and Black uses charcoal. Black is a near-black theme. System follows the device and resolves to Light or Dark.
Primary button text has 5.6:1 contrast in Light, 9.6:1 in Dark and 5.1:1 in Black. Status messages include words; colour alone cannot explain a result.
On the raw palette, plain teal is 3.1:1 on paper and 3.3:1 on white, so use it for fills, icons and large graphics and use accent-text for text. Slate is about 2:1 and mint 1.7:1 on light surfaces, so keep them decorative. border is a divider; the edge of an input uses border-strong, which passes 3:1 in every theme.
Change tokens in source/tokens.json and regenerate all platforms. A custom brand theme can override CSS variables on its root or supply a CaveColors extension in Flutter. Check contrast again after customization.