Palette Library
Clinic Mint
A calm palette for health with a teal primary and a blue accent. Text reaches 13.74:1 in light mode and 15.13:1 in dark mode.
How to use it
Clinic Mint's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f9f7f5, cards #eceae6, and text #2a2826 at 13.74:1; buttons #0f766e with #f9f7f5 labels at 5.12:1; highlights #60a5fa with #2a2826 text at 5.77:1.
- Dark mode: page #181410, cards #262524, and text #ece9e5 at 15.13:1; buttons #5db5ac with #181410 labels at 7.56:1; highlights #60a5fa with #181410 text at 7.20:1.
- Links: #0f766e reaches 5.12:1 on the light page, and #5db5ac reaches 7.56:1 on the dark page.
- The accent as text: In light mode, keep #60a5fa for fills and badges, not text: it reaches only 2.37: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 | #f9f7f5 | #181410 |
| Surface | #eceae6 | #262524 |
| Text | #2a2826 | #ece9e5 |
| Primary | #0f766e | #5db5ac |
| Primary Foreground | #f9f7f5 | #181410 |
| Accent | #60a5fa | #60a5fa |
| Accent Foreground | #2a2826 | #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 | 13.74:1AAArequired | 12.22:1AAArequired | 2.68:1Fail | 5.77:1AA |
| Primary | 5.12:1AArequired | 4.55:1AA | 1.00:1Fail | 2.15:1Fail |
| Accent | 2.37:1Fail | 2.11:1Fail | 2.15:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.12:1Fail | 5.12:1AArequired | 2.37:1Fail |
| Accent Foreground | 13.74:1AAA | 12.22:1AAA | 2.68:1Fail | 5.77:1AArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.13:1AAArequired | 12.64:1AAArequired | 2.00:1Fail | 2.10:1Fail |
| Primary | 7.56:1AAArequired | 6.31:1AA | 1.00:1Fail | 1.04:1Fail |
| Accent | 7.20:1AAA | 6.01:1AA | 1.04:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.19:1Fail | 7.56:1AAArequired | 7.20:1AAA |
| Accent Foreground | 1.00:1Fail | 1.19:1Fail | 7.56:1AAA | 7.20: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: #f9f7f5;
--surface: #eceae6;
--text: #2a2826;
--primary: #0f766e;
--primary-foreground: #f9f7f5;
--accent: #60a5fa;
--accent-foreground: #2a2826;
}
.dark {
--background: #181410;
--surface: #262524;
--text: #ece9e5;
--primary: #5db5ac;
--primary-foreground: #181410;
--accent: #60a5fa;
--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: #f9f7f5;
--surface: #eceae6;
--text: #2a2826;
--primary: #0f766e;
--primary-foreground: #f9f7f5;
--accent: #60a5fa;
--accent-foreground: #2a2826;
}
.dark {
color-scheme: dark;
--background: #181410;
--surface: #262524;
--text: #ece9e5;
--primary: #5db5ac;
--primary-foreground: #181410;
--accent: #60a5fa;
--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 Nurse Station, which shares the calm style: text reaches 13.74:1 in light mode against 12.51:1, the primary is teal where Nurse Station's is blue, and the accent is blue where Nurse Station's is green.
- Compared with Harbor Light, which shares the calm style: text reaches 13.74:1 in light mode against 13.10:1, the primary is teal where Harbor Light's is blue, and the accent is blue where Harbor Light's is yellow.