PreviewingGo to this paletteOpen in generator
Code
/* Moss Sprout — colorset.net */
:root {
--color-1: #5D7C47;
--color-2: #7A9B63;
--color-3: #97BA7F;
--color-4: #B4D99B;
--color-5: #D1F8B7;
--color-bg: #F2FAEC;
--color-surface: #E8F1E3;
--color-border: #CED9C8;
--color-text: #395623;
--color-muted: #616F57;
--color-primary: #5D7C47;
--color-on-primary: #FFFFFF;
--color-accent: #719358;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091204;
--color-surface: #131D0C;
--color-border: #26321E;
--color-text: #DDF2D0;
--color-muted: #7B8A71;
--color-primary: #5D7C47;
--color-on-primary: #FFFFFF;
--color-accent: #B4D99B;
--color-on-accent: #091204;
}
}
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 #D1F8B7 | adjusted for contrast · from #5D7C47 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5D7C47 | adjusted for contrast · from #D1F8B7 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7A9B63 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.73:1 | AA pass 4.5:1 | |
| Label on accent | 6.02:1 | AA pass 4.5:1 | |
| Primary on background | 4.43:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.08:1 | AAA pass 4.5:1 | |
| Text on surface | 14.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.20:1 | AA pass 4.5:1 | |
| Label on primary | 4.73:1 | AA pass 4.5:1 | |
| Label on accent | 12.13:1 | AAA pass 4.5:1 | |
| Primary on background | 4.04:1 | AA Large pass 3:1 | |
| Accent on background | 12.13: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 | #5D7C47 (Text 1) | #7A9B63 (Text 2) | #97BA7F (Text 3) | #B4D99B (Text 4) | #D1F8B7 (Text 5) |
|---|---|---|---|---|---|
| #5D7C47 | Same color | 1.51— | 2.17— | 3.00AA Large | 4.01AA Large |
| #7A9B63 | 1.51— | Same color | 1.44— | 1.99— | 2.66— |
| #97BA7F | 2.17— | 1.44— | Same color | 1.38— | 1.85— |
| #B4D99B | 3.00AA Large | 1.99— | 1.38— | Same color | 1.34— |
| #D1F8B7 | 4.01AA Large | 2.66— | 1.85— | 1.34— | Same color |
Shades
Shades and tints (50–950)
