Palette Library
Pine and Paper
A muted palette for education with a green primary and an orange accent. Text reaches 18.32:1 in light mode and 17.78:1 in dark mode.
How to use it
Pine and Paper's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f1faf5, cards #ddece4, and text #070e0b at 18.32:1; buttons #1b4332 with #f1faf5 labels at 10.41:1; highlights #d8b4a0 with #070e0b text at 10.17:1.
- Dark mode: page #040c08, cards #121313, and text #e5f7ee at 17.78:1; buttons #98c3ae with #040c08 labels at 10.13:1; highlights #c19e8b with #040c08 text at 8.03:1.
- Links: #1b4332 reaches 10.41:1 on the light page, and #98c3ae reaches 10.13:1 on the dark page.
- The accent as text: In light mode, keep #d8b4a0 for fills and badges, not text: it reaches only 1.80: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 | #f1faf5 | #040c08 |
| Surface | #ddece4 | #121313 |
| Text | #070e0b | #e5f7ee |
| Primary | #1b4332 | #98c3ae |
| Primary Foreground | #f1faf5 | #040c08 |
| Accent | #d8b4a0 | #c19e8b |
| Accent Foreground | #070e0b | #040c08 |
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 | 18.32:1AAArequired | 15.96:1AAArequired | 1.76:1Fail | 10.17:1AAA |
| Primary | 10.41:1AAArequired | 9.07:1AAA | 1.00:1Fail | 5.77:1AA |
| Accent | 1.80:1Fail | 1.56:1Fail | 5.77:1AA | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.14:1Fail | 10.41:1AAArequired | 1.80:1Fail |
| Accent Foreground | 18.32:1AAA | 15.96:1AAA | 1.76:1Fail | 10.17:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 17.78:1AAArequired | 16.72:1AAArequired | 1.75:1Fail | 2.21:1Fail |
| Primary | 10.13:1AAArequired | 9.52:1AAA | 1.00:1Fail | 1.26:1Fail |
| Accent | 8.03:1AAA | 7.56:1AAA | 1.26:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.06:1Fail | 10.13:1AAArequired | 8.03:1AAA |
| Accent Foreground | 1.00:1Fail | 1.06:1Fail | 10.13:1AAA | 8.03: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: #f1faf5;
--surface: #ddece4;
--text: #070e0b;
--primary: #1b4332;
--primary-foreground: #f1faf5;
--accent: #d8b4a0;
--accent-foreground: #070e0b;
}
.dark {
--background: #040c08;
--surface: #121313;
--text: #e5f7ee;
--primary: #98c3ae;
--primary-foreground: #040c08;
--accent: #c19e8b;
--accent-foreground: #040c08;
}
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: #f1faf5;
--surface: #ddece4;
--text: #070e0b;
--primary: #1b4332;
--primary-foreground: #f1faf5;
--accent: #d8b4a0;
--accent-foreground: #070e0b;
}
.dark {
color-scheme: dark;
--background: #040c08;
--surface: #121313;
--text: #e5f7ee;
--primary: #98c3ae;
--primary-foreground: #040c08;
--accent: #c19e8b;
--accent-foreground: #040c08;
}
@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 Sage Wellness, which shares the muted style: text reaches 18.32:1 in light mode against 14.29:1, both use a green primary, and both use a orange accent.
- Compared with Forest Trail, which shares a color: text reaches 18.32:1 in light mode against 12.35:1, both use a green primary, and both use a orange accent.