Palette Library

Glacier Mint

A pastel palette for health with a teal primary and a teal accent. Text reaches 15.31:1 in light mode and 15.15:1 in dark mode.

How to use it

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

  • Light mode: page #fbf5f0, cards #f7ede4, and text #221e19 at 15.31:1; buttons #0b7285 with #fbf5f0 labels at 5.16:1; highlights #c3fae8 with #221e19 text at 14.32:1.
  • Dark mode: page #181410, cards #231c14, and text #f7e7d8 at 15.15:1; buttons #5cb2c6 with #181410 labels at 7.53:1; highlights #c3fae8 with #181410 text at 15.84:1.
  • Links: #0b7285 reaches 5.16:1 on the light page, and #5cb2c6 reaches 7.53:1 on the dark page.
  • The accent as text: In light mode, keep #c3fae8 for fills and badges, not text: it reaches only 1.06: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
#fbf5f0
#181410
Surface
#f7ede4
#231c14
Text
#221e19
#f7e7d8
Primary
#0b7285
#5cb2c6
Primary Foreground
#fbf5f0
#181410
Accent
#c3fae8
#c3fae8
Accent Foreground
#221e19
#181410

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
Text15.31:1AAArequired14.34:1AAArequired2.96:1Fail14.32:1AAA
Primary5.16:1AArequired4.83:1AA1.00:1Fail4.82:1AA
Accent1.06:1Fail1.00:1Fail4.82:1AA1.00:1Fail
Primary Foreground1.00:1Fail1.06:1Fail5.16:1AArequired1.06:1Fail
Accent Foreground15.31:1AAA14.34:1AAA2.96:1Fail14.32:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text15.15:1AAArequired13.92:1AAArequired2.01:1Fail1.04:1Fail
Primary7.53:1AAArequired6.92:1AA1.00:1Fail2.10:1Fail
Accent15.84:1AAA14.55:1AAA2.10:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.08:1Fail7.53:1AAArequired15.84:1AAA
Accent Foreground1.00:1Fail1.08:1Fail7.53:1AAA15.84: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: #fbf5f0;
  --surface: #f7ede4;
  --text: #221e19;
  --primary: #0b7285;
  --primary-foreground: #fbf5f0;
  --accent: #c3fae8;
  --accent-foreground: #221e19;
}

.dark {
  --background: #181410;
  --surface: #231c14;
  --text: #f7e7d8;
  --primary: #5cb2c6;
  --primary-foreground: #181410;
  --accent: #c3fae8;
  --accent-foreground: #181410;
}

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: #fbf5f0;
  --surface: #f7ede4;
  --text: #221e19;
  --primary: #0b7285;
  --primary-foreground: #fbf5f0;
  --accent: #c3fae8;
  --accent-foreground: #221e19;
}

.dark {
  color-scheme: dark;
  --background: #181410;
  --surface: #231c14;
  --text: #f7e7d8;
  --primary: #5cb2c6;
  --primary-foreground: #181410;
  --accent: #c3fae8;
  --accent-foreground: #181410;
}

@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 Clinic Mint, which shares the Health topic: text reaches 15.31:1 in light mode against 13.74:1, both use a teal primary, and the accent is teal where Clinic Mint's is blue.
  • Compared with Candy Shop, which shares the pastel style: text reaches 15.31:1 in light mode against 14.59:1, the primary is teal where Candy Shop's is pink, and both use a teal accent.