PreviewingGo to this paletteOpen in generator
Code
/* Forest Brown — colorset.net */
:root {
--color-1: #7E5109;
--color-2: #935116;
--color-3: #A9581C;
--color-4: #B9770E;
--color-5: #CA6F1E;
--color-bg: #FFF5EE;
--color-surface: #F9EAE1;
--color-border: #E2D1C6;
--color-text: #6C4402;
--color-muted: #796751;
--color-primary: #B55E00;
--color-on-primary: #FFFFFF;
--color-accent: #7E5109;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C00;
--color-surface: #241606;
--color-border: #3A2A16;
--color-text: #BF9E88;
--color-muted: #977E6D;
--color-primary: #B55E00;
--color-on-primary: #FFFFFF;
--color-accent: #8A5C1B;
--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 #CA6F1E | adjusted for contrast · from #7E5109 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #7E5109 | adjusted for contrast · from #B9770E |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A9581C | adjusted for contrast · from #A9581C |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #935116 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 6.84:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 6.37:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.79:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 3.32: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 | #7E5109 (Text 1) | #935116 (Text 2) | #A9581C (Text 3) | #B9770E (Text 4) | #CA6F1E (Text 5) |
|---|---|---|---|---|---|
| #7E5109 | Same color | 1.12— | 1.34— | 1.86— | 1.89— |
| #935116 | 1.12— | Same color | 1.20— | 1.66— | 1.69— |
| #A9581C | 1.34— | 1.20— | Same color | 1.39— | 1.42— |
| #B9770E | 1.86— | 1.66— | 1.39— | Same color | 1.02— |
| #CA6F1E | 1.89— | 1.69— | 1.42— | 1.02— | Same color |
Shades
Shades and tints (50–950)
