PreviewingGo to this paletteOpen in generator
Code
/* Moss And Bark — colorset.net */
:root {
--color-1: #ECE7D8;
--color-2: #5E7046;
--color-3: #7A5A3E;
--color-4: #B9B38F;
--color-5: #262A1C;
--color-bg: #F8F7F2;
--color-surface: #EFEDE9;
--color-border: #D7D5CD;
--color-text: #262A1C;
--color-muted: #666B5B;
--color-primary: #5E7046;
--color-on-primary: #FFFFFF;
--color-accent: #8E8865;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F100B;
--color-surface: #191A15;
--color-border: #2D2F27;
--color-text: #ECE7D8;
--color-muted: #878375;
--color-primary: #5E7046;
--color-on-primary: #FFFFFF;
--color-accent: #B9B38F;
--color-on-accent: #0F100B;
}
}
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 #ECE7D8 | adjusted for contrast · from #262A1C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5E7046 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.69:1 | AAA pass 4.5:1 | |
| Text on surface | 12.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 5.41:1 | AA pass 4.5:1 | |
| Label on accent | 5.86:1 | AA pass 4.5:1 | |
| Primary on background | 5.04:1 | AA pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.45:1 | AAA pass 4.5:1 | |
| Text on surface | 14.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.41:1 | AA pass 4.5:1 | |
| Label on accent | 9.01:1 | AAA pass 4.5:1 | |
| Primary on background | 3.53:1 | AA Large pass 3:1 | |
| Accent on background | 9.01: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 | #ECE7D8 (Text 1) | #5E7046 (Text 2) | #7A5A3E (Text 3) | #B9B38F (Text 4) | #262A1C (Text 5) |
|---|---|---|---|---|---|
| #ECE7D8 | Same color | 4.38AA Large | 5.06AA | 1.71— | 11.88AAA |
| #5E7046 | 4.38AA Large | Same color | 1.16— | 2.55— | 2.71— |
| #7A5A3E | 5.06AA | 1.16— | Same color | 2.95— | 2.35— |
| #B9B38F | 1.71— | 2.55— | 2.95— | Same color | 6.93AA |
| #262A1C | 11.88AAA | 2.71— | 2.35— | 6.93AA | Same color |
Shades
Shades and tints (50–950)
