Palette Library

Sage Wellness

A muted palette for health with a green primary and an orange accent. Text reaches 14.29:1 in light mode and 14.44:1 in dark mode.

How to use it

Sage Wellness's roles on a real interface, with the ratios stored for this palette.

  • Light mode: page #fbfdff, cards #ecf5fe, and text #28292a at 14.29:1; buttons #4a6b53 with #fbfdff labels at 5.85:1; highlights #e8a87c with #28292a text at 7.16:1.
  • Dark mode: page #0e1114, cards #191b1d, and text #dfe1e3 at 14.44:1; buttons #8cb095 with #0e1114 labels at 7.89:1; highlights #e8a87c with #0e1114 text at 9.30:1.
  • Links: #4a6b53 reaches 5.85:1 on the light page, and #8cb095 reaches 7.89:1 on the dark page.
  • The accent as text: In light mode, keep #e8a87c for fills and badges, not text: it reaches only 1.99:1 on the page.

Preview

The same palette on a small interface in light and dark.

Light mode

A place for your ideas

Start with colors that work together.

Your next project

A surface for the details that matter.

Get startedNew

Explore your palette →

Dark mode

A place for your ideas

Start with colors that work together.

Your next project

A surface for the details that matter.

Get startedNew

Explore your palette →

Roles

Five roles and their two foregrounds. Copy the exact HEX values.

RoleLightDark
Background
#fbfdff
#0e1114
Surface
#ecf5fe
#191b1d
Text
#28292a
#dfe1e3
Primary
#4a6b53
#8cb095
Primary Foreground
#fbfdff
#0e1114
Accent
#e8a87c
#e8a87c
Accent Foreground
#28292a
#0e1114

Contrast matrix

Five required pairs per mode, judged on the final 8-bit colors.

Light mode

Scroll the table sideways on a small screen.

light mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text14.29:1AAArequired13.22:1AAArequired2.44:1Fail7.16:1AAA
Primary5.85:1AArequired5.41:1AA1.00:1Fail2.93:1Fail
Accent1.99:1Fail1.84:1Fail2.93:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.08:1Fail5.85:1AArequired1.99:1Fail
Accent Foreground14.29:1AAA13.22:1AAA2.44:1Fail7.16:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text14.44:1AAArequired13.17:1AAArequired1.82:1Fail1.55:1Fail
Primary7.89:1AAArequired7.20:1AAA1.00:1Fail1.17:1Fail
Accent9.30:1AAA8.49:1AAA1.17:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.09:1Fail7.89:1AAArequired9.30:1AAA
Accent Foreground1.00:1Fail1.09:1Fail7.89:1AAA9.30:1AAArequired

AAA: normal text ≥ 7:1. AA: normal text ≥ 4.5:1. AA large: large text ≥ 3:1 (24 px, or 18.66 px bold). UI: required component contrast ≥ 3:1. Fail: below 3:1. Required marks the five pairs ColorLint checks in each mode. Other pairs are informational.

ColorLint checks color contrast only. Passing pairs do not mean a page is accessible.

Exports

Both modes, with the exact values the Palette Generator exports.

CSS variables

/* ColorLint palette (v1). Light values in :root; dark values in .dark. */

:root {
  --background: #fbfdff;
  --surface: #ecf5fe;
  --text: #28292a;
  --primary: #4a6b53;
  --primary-foreground: #fbfdff;
  --accent: #e8a87c;
  --accent-foreground: #28292a;
}

.dark {
  --background: #0e1114;
  --surface: #191b1d;
  --text: #dfe1e3;
  --primary: #8cb095;
  --primary-foreground: #0e1114;
  --accent: #e8a87c;
  --accent-foreground: #0e1114;
}

Tailwind v4

/* ColorLint palette for Tailwind CSS v4 (palette v1). */
/* Paste after @import "tailwindcss". Add the "dark" class to <html> for dark mode. */

@custom-variant dark (&:where(.dark, .dark *));

:root {
  color-scheme: light;
  --background: #fbfdff;
  --surface: #ecf5fe;
  --text: #28292a;
  --primary: #4a6b53;
  --primary-foreground: #fbfdff;
  --accent: #e8a87c;
  --accent-foreground: #28292a;
}

.dark {
  color-scheme: dark;
  --background: #0e1114;
  --surface: #191b1d;
  --text: #dfe1e3;
  --primary: #8cb095;
  --primary-foreground: #0e1114;
  --accent: #e8a87c;
  --accent-foreground: #0e1114;
}

@theme inline {
  --color-background: var(--background);
  --color-surface: var(--surface);
  --color-text: var(--text);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
}

Compared with similar palettes

  • Compared with Apothecary, which shares the muted style: text reaches 14.29:1 in light mode against 19.07:1, both use a green primary, and the accent is orange where Apothecary's is pink.
  • Compared with Pine and Paper, which shares the muted style: text reaches 14.29:1 in light mode against 18.32:1, both use a green primary, and both use a orange accent.