PreviewingGo to this paletteOpen in generator
Code
/* Mossy Olive Grove — colorset.net */
:root {
--color-1: #3A5F0B;
--color-2: #507D2A;
--color-3: #6B8E23;
--color-4: #8FBC8F;
--color-5: #C1E1C1;
--color-bg: #F0FAF0;
--color-surface: #E7F1E7;
--color-border: #CDD9CC;
--color-text: #3B571E;
--color-muted: #626F57;
--color-primary: #5D7F09;
--color-on-primary: #FFFFFF;
--color-accent: #718F71;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1203;
--color-surface: #131D0B;
--color-border: #26321D;
--color-text: #C3E0C3;
--color-muted: #758A75;
--color-primary: #5D7F09;
--color-on-primary: #FFFFFF;
--color-accent: #8FBC8F;
--color-on-accent: #0A1203;
}
}
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 #C1E1C1 | adjusted for contrast · from #3A5F0B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #3A5F0B | adjusted for contrast · from #C1E1C1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #507D2A | adjusted for contrast · from #507D2A |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6B8E23 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.65:1 | AAA pass 4.5:1 | |
| Text on surface | 7.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.87:1 | AA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.42:1 | AAA pass 4.5:1 | |
| Text on surface | 12.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 8.86:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 8.86: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 | #3A5F0B (Text 1) | #507D2A (Text 2) | #6B8E23 (Text 3) | #8FBC8F (Text 4) | #C1E1C1 (Text 5) |
|---|---|---|---|---|---|
| #3A5F0B | Same color | 1.53— | 1.96— | 3.46AA Large | 5.25AA |
| #507D2A | 1.53— | Same color | 1.28— | 2.27— | 3.44AA Large |
| #6B8E23 | 1.96— | 1.28— | Same color | 1.77— | 2.68— |
| #8FBC8F | 3.46AA Large | 2.27— | 1.77— | Same color | 1.52— |
| #C1E1C1 | 5.25AA | 3.44AA Large | 2.68— | 1.52— | Same color |
Shades
Shades and tints (50–950)
