PreviewingGo to this paletteOpen in generator
Code
/* Old Library — colorset.net */
:root {
--color-1: #1F1A16;
--color-2: #A67C52;
--color-3: #4E6B4A;
--color-4: #3B322B;
--color-5: #EDE3D0;
--color-bg: #F9F6F1;
--color-surface: #F0EDE7;
--color-border: #D9D4CB;
--color-text: #1F1A16;
--color-muted: #706A65;
--color-primary: #A67C52;
--color-on-primary: #1F1A16;
--color-accent: #4E6B4A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1F1A16;
--color-surface: #2A2520;
--color-border: #413933;
--color-text: #EDE3D0;
--color-muted: #968D7B;
--color-primary: #A67C52;
--color-on-primary: #1F1A16;
--color-accent: #597755;
--color-on-accent: #FFFFFF;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #EDE3D0 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #4E6B4A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.00:1 | AAA pass 4.5:1 | |
| Text on surface | 14.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 3.46:1 | AA Large pass 3:1 | |
| Accent on background | 5.52:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.55:1 | AAA pass 4.5:1 | |
| Text on surface | 11.92:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.62:1 | AA pass 3:1 | |
| Accent on background | 3.45:1 | AA Large pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #1F1A16 (Text 1) | #A67C52 (Text 2) | #4E6B4A (Text 3) | #3B322B (Text 4) | #EDE3D0 (Text 5) |
|---|---|---|---|---|---|
| #1F1A16 | Same color | 4.62AA | 2.90— | 1.38— | 13.55AAA |
| #A67C52 | 4.62AA | Same color | 1.60— | 3.35AA Large | 2.93— |
| #4E6B4A | 2.90— | 1.60— | Same color | 2.10— | 4.68AA |
| #3B322B | 1.38— | 3.35AA Large | 2.10— | Same color | 9.84AAA |
| #EDE3D0 | 13.55AAA | 2.93— | 4.68AA | 9.84AAA | Same color |
Shades
Shades and tints (50–950)
