PreviewingGo to this paletteOpen in generator
Code
/* Moss Stone — colorset.net */
:root {
--color-1: #4A5D4F;
--color-2: #5C7360;
--color-3: #6F8973;
--color-4: #839F86;
--color-5: #9AB69A;
--color-bg: #F1FAF1;
--color-surface: #E8F0E7;
--color-border: #CDD9CD;
--color-text: #3F5244;
--color-muted: #5C6F61;
--color-primary: #6F8973;
--color-on-primary: #000000;
--color-accent: #5C7360;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B110D;
--color-surface: #151B17;
--color-border: #27312A;
--color-text: #9AB69A;
--color-muted: #738873;
--color-primary: #6F8973;
--color-on-primary: #0B110D;
--color-accent: #586B5D;
--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 #9AB69A | adjusted for contrast · from #4A5D4F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4A5D4F | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #5C7360 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.87:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.15:1 | AA pass 4.5:1 | |
| Primary on background | 3.58:1 | AA Large pass 3:1 | |
| Accent on background | 4.83:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.00:1 | AA pass 4.5:1 | |
| Label on accent | 5.71:1 | AA pass 4.5:1 | |
| Primary on background | 5.00:1 | AA pass 3:1 | |
| Accent on background | 3.34: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 | #4A5D4F (Text 1) | #5C7360 (Text 2) | #6F8973 (Text 3) | #839F86 (Text 4) | #9AB69A (Text 5) |
|---|---|---|---|---|---|
| #4A5D4F | Same color | 1.37— | 1.85— | 2.45— | 3.21AA Large |
| #5C7360 | 1.37— | Same color | 1.35— | 1.78— | 2.34— |
| #6F8973 | 1.85— | 1.35— | Same color | 1.32— | 1.73— |
| #839F86 | 2.45— | 1.78— | 1.32— | Same color | 1.31— |
| #9AB69A | 3.21AA Large | 2.34— | 1.73— | 1.31— | Same color |
Shades
Shades and tints (50–950)
