PreviewingGo to this paletteOpen in generator
Code
/* Mushroom Brown — colorset.net */
:root {
--color-1: #C2A878;
--color-2: #D4C5A9;
--color-3: #E6D7BD;
--color-4: #F0E4D2;
--color-5: #F5F0E8;
--color-bg: #F5F0E8;
--color-surface: #FBF8F3;
--color-border: #DED7CC;
--color-text: #644D1D;
--color-muted: #786B52;
--color-primary: #9F8657;
--color-on-primary: #000000;
--color-accent: #695530;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E02;
--color-surface: #201809;
--color-border: #362C1A;
--color-text: #F5F0E8;
--color-muted: #8C8780;
--color-primary: #C2A878;
--color-on-primary: #150E02;
--color-accent: #E6D7BD;
--color-on-accent: #150E02;
}
}
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 5 | adjusted for contrast · from #C2A878 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #C2A878 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C2A878 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C2A878 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.06:1 | AAA pass 4.5:1 | |
| Text on surface | 7.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.60:1 | AA pass 4.5:1 | |
| Label on primary | 6.02:1 | AA pass 4.5:1 | |
| Label on accent | 7.14:1 | AAA pass 4.5:1 | |
| Primary on background | 3.07:1 | AA Large pass 3:1 | |
| Accent on background | 6.29:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.90:1 | AAA pass 4.5:1 | |
| Text on surface | 15.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 8.37:1 | AAA pass 4.5:1 | |
| Label on accent | 13.53:1 | AAA pass 4.5:1 | |
| Primary on background | 8.37:1 | AAA pass 3:1 | |
| Accent on background | 13.53: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 | #C2A878 (Text 1) | #D4C5A9 (Text 2) | #E6D7BD (Text 3) | #F0E4D2 (Text 4) | #F5F0E8 (Text 5) |
|---|---|---|---|---|---|
| #C2A878 | Same color | 1.35— | 1.62— | 1.83— | 2.02— |
| #D4C5A9 | 1.35— | Same color | 1.20— | 1.35— | 1.50— |
| #E6D7BD | 1.62— | 1.20— | Same color | 1.13— | 1.25— |
| #F0E4D2 | 1.83— | 1.35— | 1.13— | Same color | 1.11— |
| #F5F0E8 | 2.02— | 1.50— | 1.25— | 1.11— | Same color |
Shades
Shades and tints (50–950)
