Core palette

Seven named colors

Four brand colors, a brighter amber for dark surfaces, a destructive red, and a strictly functional blue.

Topo ramp

Eight steps of elevation

DiffLab’s core metaphor is terrain: we map complexity and guide clients through it. The ramp climbs from deep navy ocean floor through slate lowlands and warm highlands to snow — paper white at the summit. Use it for elevation-encoded data, contour backgrounds, and depth cues; never as decoration-by-the-handful.

Semantic tokens

Light and dark, one vocabulary

Never style with raw values — style with roles. Each semantic token resolves per theme; the brand site is dark-first, internal apps are light-first, and both draw from this table.

Token Role Light Dark
--dl-bg Page background hsl(210 40% 98%) paper hsl(218 44% 18%) navy
--dl-surface Cards, panels #ffffff hsl(218 44% 22%)
--dl-surface-raised Elevated surfaces #ffffff hsl(218 42% 26%)
--dl-fg Primary text #111827 hsl(210 40% 98%) paper
--dl-fg-muted Secondary text #4B5563 hsl(215 20% 72%)
--dl-border Hairlines, dividers hsl(214 32% 91%) hsl(218 30% 30%)
--dl-accent The pop accent hsl(38 92% 50%) amber hsl(43 96% 56%) amber-bright
--dl-accent-text Accent as text — eyebrows, kickers hsl(38 92% 32%) dark amber hsl(43 96% 56%) amber-bright
--dl-accent-fg Text on accent hsl(218 44% 18%) navy hsl(218 44% 18%) navy
--dl-link Links #006CD1 functional blue, text weight hsl(43 96% 56%) amber-bright

App status colors

Four fg/bg pairs, two themes

Internal apps signal state with paired colors: a strong foreground on a soft background, rendered as pill badges (radius --dl-radius-badge). Always use the pair together — never mix a foreground with another pair’s background. Consume them as the semantic --dl-app-status-*-fg/bg tokens and each pair flips automatically in the app’s official dark mode: foregrounds brighten, backgrounds become deep tints.

Success
Success
light · fg #0F7A0A · bg #E4FFEC
dark · fg #4ADE80 · bg #0C2B1C
--dl-app-status-success-fg / -bg
Error
Error
light · fg #B91C1C · bg #FEE2E2
dark · fg #F87171 · bg #361318
--dl-app-status-error-fg / -bg
Warning
Warning
light · fg #B45309 · bg #FEF3C7
dark · fg #FBBF24 · bg #33250B
--dl-app-status-warning-fg / -bg
Info
Info
light · fg #005FCC · bg #E0F2FF
dark · fg #5CACFF · bg #0D2440
--dl-app-status-info-fg / -bg

Dark app surfaces & text

The dark values of the --dl-app-* surface, border, text, and link tokens — what the semantic tokens resolve to under data-theme="dark". Shown on the dark app background; click any chip to copy its hex. Full recipe and light/dark table: Layout → Dark mode.

Pairing rules

Which colors, which surface

Marketing surfaces are dark-first: navy ground, paper text, amber as the single pop. Internal apps are light-first: white surfaces, navy sidebar, functional blue for links and info.

  • Marketing: navy background, paper text, amber accents — dark-first with a working light theme.
  • Internal apps: white surfaces, navy gradient sidebar, light-first.
  • Amber is the pop accent — one accent, used sparingly, everywhere.
  • Use amber-bright #fbbf24 as the accent on dark surfaces.
  • Blue inside app UIs only: #006CD1 for link text, #0085FF for non-text info accents.
  • Reach for the topo ramp when encoding depth or elevation.
  • Don’t use functional blue on marketing surfaces — not for links, not for decoration.
  • Don’t introduce a second accent color alongside amber.
  • Don’t flood layouts with amber — it pops because it is scarce.
  • Don’t hard-code raw hex where a --dl-* token exists.
  • Don’t split a status pair — foregrounds and backgrounds travel together.
  • Don’t use destructive red for emphasis; it means danger only.