PreviewingGo to this paletteOpen in generator
Code
/* Mushroom Ring — colorset.net */
:root {
--color-1: #F4EFE8;
--color-2: #8C5A3C;
--color-3: #5E7F5C;
--color-4: #DCCDBB;
--color-5: #2A221C;
--color-bg: #F4EFE8;
--color-surface: #FAF7F2;
--color-border: #DDD6CC;
--color-text: #2A221C;
--color-muted: #746A63;
--color-primary: #8C5A3C;
--color-on-primary: #FFFFFF;
--color-accent: #5E7F5C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2A221C;
--color-surface: #352D27;
--color-border: #4E423A;
--color-text: #F4EFE8;
--color-muted: #9A958F;
--color-primary: #9F6B4D;
--color-on-primary: #000000;
--color-accent: #61825F;
--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 #8C5A3C |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #5E7F5C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.66:1 | AAA pass 4.5:1 | |
| Text on surface | 14.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 5.76:1 | AA pass 4.5:1 | |
| Label on accent | 4.50:1 | AA pass 4.5:1 | |
| Primary on background | 5.04:1 | AA pass 3:1 | |
| Accent on background | 3.93:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.66:1 | AAA pass 4.5:1 | |
| Text on surface | 11.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 4.87:1 | AA pass 4.5:1 | |
| Primary on background | 3.49:1 | AA Large pass 3:1 | |
| Accent on background | 3.62: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 | #F4EFE8 (Text 1) | #8C5A3C (Text 2) | #5E7F5C (Text 3) | #DCCDBB (Text 4) | #2A221C (Text 5) |
|---|---|---|---|---|---|
| #F4EFE8 | Same color | 5.04AA | 3.93AA Large | 1.36— | 13.66AAA |
| #8C5A3C | 5.04AA | Same color | 1.28— | 3.70AA Large | 2.71— |
| #5E7F5C | 3.93AA Large | 1.28— | Same color | 2.89— | 3.47AA Large |
| #DCCDBB | 1.36— | 3.70AA Large | 2.89— | Same color | 10.04AAA |
| #2A221C | 13.66AAA | 2.71— | 3.47AA Large | 10.04AAA | Same color |
Shades
Shades and tints (50–950)
