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.
NewExplore 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.
NewExplore your palette →
Roles
Five roles and their two foregrounds. Copy the exact HEX values.
| Role | Light | Dark |
|---|---|---|
| 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.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.31:1AAArequired | 14.34:1AAArequired | 2.96:1Fail | 14.32:1AAA |
| Primary | 5.16:1AArequired | 4.83:1AA | 1.00:1Fail | 4.82:1AA |
| Accent | 1.06:1Fail | 1.00:1Fail | 4.82:1AA | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.06:1Fail | 5.16:1AArequired | 1.06:1Fail |
| Accent Foreground | 15.31:1AAA | 14.34:1AAA | 2.96:1Fail | 14.32:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.15:1AAArequired | 13.92:1AAArequired | 2.01:1Fail | 1.04:1Fail |
| Primary | 7.53:1AAArequired | 6.92:1AA | 1.00:1Fail | 2.10:1Fail |
| Accent | 15.84:1AAA | 14.55:1AAA | 2.10:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.08:1Fail | 7.53:1AAArequired | 15.84:1AAA |
| Accent Foreground | 1.00:1Fail | 1.08:1Fail | 7.53:1AAA | 15.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.