PreviewingGo to this paletteOpen in generator
Code
/* Olive Deep — colorset.net */
:root {
--color-1: #2F4F2F;
--color-2: #228B22;
--color-3: #2E8B57;
--color-4: #3CB371;
--color-5: #66CDAA;
--color-bg: #EBFBF4;
--color-surface: #E1F2EB;
--color-border: #C6DAD2;
--color-text: #2F4F2F;
--color-muted: #5D715D;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #2C9A79;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #081208;
--color-surface: #121D12;
--color-border: #243224;
--color-text: #98C1B1;
--color-muted: #6A897D;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #66CDAA;
--color-on-accent: #081208;
}
}
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 #66CDAA | adjusted for contrast · from #2F4F2F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #66CDAA |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2E8B57 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.61:1 | AAA pass 4.5:1 | |
| Text on surface | 7.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.63:1 | AAA pass 4.5:1 | |
| Text on surface | 8.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 9.89:1 | AAA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 9.89: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 | #2F4F2F (Text 1) | #228B22 (Text 2) | #2E8B57 (Text 3) | #3CB371 (Text 4) | #66CDAA (Text 5) |
|---|---|---|---|---|---|
| #2F4F2F | Same color | 2.10— | 2.17— | 3.46AA Large | 4.77AA |
| #228B22 | 2.10— | Same color | 1.03— | 1.65— | 2.27— |
| #2E8B57 | 2.17— | 1.03— | Same color | 1.59— | 2.20— |
| #3CB371 | 3.46AA Large | 1.65— | 1.59— | Same color | 1.38— |
| #66CDAA | 4.77AA | 2.27— | 2.20— | 1.38— | Same color |
Shades
Shades and tints (50–950)
