PreviewingGo to this paletteOpen in generator
Code
/* Elm Brown — colorset.net */
:root {
--color-1: #8B6F47;
--color-2: #A5855B;
--color-3: #BF9B6F;
--color-4: #D9B183;
--color-5: #F3C797;
--color-bg: #FFF5EA;
--color-surface: #F7EBE0;
--color-border: #E0D2C4;
--color-text: #654A22;
--color-muted: #796952;
--color-primary: #8B6F47;
--color-on-primary: #FFFFFF;
--color-accent: #A68053;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160E03;
--color-surface: #21180B;
--color-border: #372C1C;
--color-text: #E6CBAD;
--color-muted: #937F69;
--color-primary: #8B6F47;
--color-on-primary: #FFFFFF;
--color-accent: #D9B183;
--color-on-accent: #160E03;
}
}
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 #F3C797 | adjusted for contrast · from #8B6F47 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B6F47 | adjusted for contrast · from #F3C797 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A5855B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.71:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 4.37:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.30:1 | AAA pass 4.5:1 | |
| Text on surface | 11.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.71:1 | AA pass 4.5:1 | |
| Label on accent | 9.62:1 | AAA pass 4.5:1 | |
| Primary on background | 4.06:1 | AA Large pass 3:1 | |
| Accent on background | 9.62:1 | AAA 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 | #8B6F47 (Text 1) | #A5855B (Text 2) | #BF9B6F (Text 3) | #D9B183 (Text 4) | #F3C797 (Text 5) |
|---|---|---|---|---|---|
| #8B6F47 | Same color | 1.37— | 1.82— | 2.37— | 3.01AA Large |
| #A5855B | 1.37— | Same color | 1.33— | 1.73— | 2.20— |
| #BF9B6F | 1.82— | 1.33— | Same color | 1.30— | 1.65— |
| #D9B183 | 2.37— | 1.73— | 1.30— | Same color | 1.27— |
| #F3C797 | 3.01AA Large | 2.20— | 1.65— | 1.27— | Same color |
Shades
Shades and tints (50–950)
