PreviewingGo to this paletteOpen in generator
Code
/* Acorn Cap — colorset.net */
:root {
--color-1: #F5EEE4;
--color-2: #8A5A32;
--color-3: #4F7A6A;
--color-4: #E2D2BE;
--color-5: #2A211A;
--color-bg: #F5EEE4;
--color-surface: #FAF6F0;
--color-border: #DED5C8;
--color-text: #2A211A;
--color-muted: #746961;
--color-primary: #8A5A32;
--color-on-primary: #FFFFFF;
--color-accent: #4F7A6A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2A211A;
--color-surface: #352C25;
--color-border: #4E4137;
--color-text: #F5EEE4;
--color-muted: #9A948B;
--color-primary: #9D6B43;
--color-on-primary: #FFFFFF;
--color-accent: #558070;
--color-on-accent: #000000;
}
}
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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #8A5A32 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #4F7A6A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.70:1 | AAA pass 4.5:1 | |
| Text on surface | 14.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 4.86:1 | AA pass 4.5:1 | |
| Primary on background | 5.08:1 | AA pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.70:1 | AAA pass 4.5:1 | |
| Text on surface | 11.85:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 4.71:1 | AA pass 4.5:1 | |
| Primary on background | 3.47:1 | AA Large pass 3:1 | |
| Accent on background | 3.54: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 | #F5EEE4 (Text 1) | #8A5A32 (Text 2) | #4F7A6A (Text 3) | #E2D2BE (Text 4) | #2A211A (Text 5) |
|---|---|---|---|---|---|
| #F5EEE4 | Same color | 5.08AA | 4.22AA Large | 1.28— | 13.70AAA |
| #8A5A32 | 5.08AA | Same color | 1.20— | 3.96AA Large | 2.70— |
| #4F7A6A | 4.22AA Large | 1.20— | Same color | 3.28AA Large | 3.25AA Large |
| #E2D2BE | 1.28— | 3.96AA Large | 3.28AA Large | Same color | 10.67AAA |
| #2A211A | 13.70AAA | 2.70— | 3.25AA Large | 10.67AAA | Same color |
Shades
Shades and tints (50–950)
