PreviewingGo to this paletteOpen in generator
Code
/* Moss Green — colorset.net */
:root {
--color-1: #355E3B;
--color-2: #4F7942;
--color-3: #6B8E4E;
--color-4: #87A96B;
--color-5: #A3C585;
--color-bg: #F2FAEC;
--color-surface: #E9F0E3;
--color-border: #CFD9C8;
--color-text: #2F5836;
--color-muted: #5B715D;
--color-primary: #5D7F3F;
--color-on-primary: #FFFFFF;
--color-accent: #324D18;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061308;
--color-surface: #101D12;
--color-border: #223324;
--color-text: #ADBF9E;
--color-muted: #79876E;
--color-primary: #5D7F3F;
--color-on-primary: #FFFFFF;
--color-accent: #466F4B;
--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 #A3C585 | adjusted for contrast · from #355E3B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #355E3B | adjusted for contrast · from #A3C585 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4F7942 | adjusted for contrast · from #4F7942 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #355E3B | adjusted for contrast · from #4F7942 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 9.50:1 | AAA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 8.89:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.71:1 | AAA pass 4.5:1 | |
| Text on surface | 8.89:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 5.78:1 | AA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 3.29: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 | #355E3B (Text 1) | #4F7942 (Text 2) | #6B8E4E (Text 3) | #87A96B (Text 4) | #A3C585 (Text 5) |
|---|---|---|---|---|---|
| #355E3B | Same color | 1.47— | 1.99— | 2.81— | 3.87AA Large |
| #4F7942 | 1.47— | Same color | 1.35— | 1.91— | 2.62— |
| #6B8E4E | 1.99— | 1.35— | Same color | 1.41— | 1.94— |
| #87A96B | 2.81— | 1.91— | 1.41— | Same color | 1.37— |
| #A3C585 | 3.87AA Large | 2.62— | 1.94— | 1.37— | Same color |
Shades
Shades and tints (50–950)
