Palette Library
Nurse Station
A calm palette for health with a blue primary and a green accent. Text reaches 12.51:1 in light mode and 15.83:1 in dark mode.
How to use it
Nurse Station's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fbf9f4, cards #f5f0e7, and text #32302c at 12.51:1; buttons #1971c2 with #fbf9f4 labels at 4.77:1; highlights #69db7c with #32302c text at 7.53:1.
- Dark mode: page #17140f, cards #28231a, and text #f8edd9 at 15.83:1; buttons #52a3f8 with #17140f labels at 6.95:1; highlights #69db7c with #17140f text at 10.51:1.
- Links: #1971c2 reaches 4.77:1 on the light page, and #52a3f8 reaches 6.95:1 on the dark page.
- The accent as text: In light mode, keep #69db7c for fills and badges, not text: it reaches only 1.65: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 | #fbf9f4 | #17140f |
| Surface | #f5f0e7 | #28231a |
| Text | #32302c | #f8edd9 |
| Primary | #1971c2 | #52a3f8 |
| Primary Foreground | #fbf9f4 | #17140f |
| Accent | #69db7c | #69db7c |
| Accent Foreground | #32302c | #17140f |
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 | 12.51:1AAArequired | 11.60:1AAArequired | 2.62:1Fail | 7.53:1AAA |
| Primary | 4.77:1AArequired | 4.42:1AA large | 1.00:1Fail | 2.87:1Fail |
| Accent | 1.65:1Fail | 1.53:1Fail | 2.87:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.07:1Fail | 4.77:1AArequired | 1.65:1Fail |
| Accent Foreground | 12.51:1AAA | 11.60:1AAA | 2.62:1Fail | 7.53:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.83:1AAArequired | 13.45:1AAArequired | 2.27:1Fail | 1.50:1Fail |
| Primary | 6.95:1AArequired | 5.91:1AA | 1.00:1Fail | 1.51:1Fail |
| Accent | 10.51:1AAA | 8.93:1AAA | 1.51:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.17:1Fail | 6.95:1AArequired | 10.51:1AAA |
| Accent Foreground | 1.00:1Fail | 1.17:1Fail | 6.95:1AA | 10.51: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: #fbf9f4;
--surface: #f5f0e7;
--text: #32302c;
--primary: #1971c2;
--primary-foreground: #fbf9f4;
--accent: #69db7c;
--accent-foreground: #32302c;
}
.dark {
--background: #17140f;
--surface: #28231a;
--text: #f8edd9;
--primary: #52a3f8;
--primary-foreground: #17140f;
--accent: #69db7c;
--accent-foreground: #17140f;
}
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: #fbf9f4;
--surface: #f5f0e7;
--text: #32302c;
--primary: #1971c2;
--primary-foreground: #fbf9f4;
--accent: #69db7c;
--accent-foreground: #32302c;
}
.dark {
color-scheme: dark;
--background: #17140f;
--surface: #28231a;
--text: #f8edd9;
--primary: #52a3f8;
--primary-foreground: #17140f;
--accent: #69db7c;
--accent-foreground: #17140f;
}
@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 Steady Ledger, which shares the calm style: text reaches 12.51:1 in light mode against 16.94:1, the primary is blue where Steady Ledger's is green, and the accent is green where Steady Ledger's is blue.
- Compared with Clinic Mint, which shares the calm style: text reaches 12.51:1 in light mode against 13.74:1, the primary is blue where Clinic Mint's is teal, and the accent is green where Clinic Mint's is blue.