PreviewingGo to this paletteOpen in generator
Code
/* Olive Lime — colorset.net */
:root {
--color-1: #556B2F;
--color-2: #6B8E23;
--color-3: #8FBC8F;
--color-4: #9ACD32;
--color-5: #ADFF2F;
--color-bg: #F2FAEC;
--color-surface: #E9F0E3;
--color-border: #CFD8C7;
--color-text: #3F5417;
--color-muted: #636E55;
--color-primary: #548200;
--color-on-primary: #FFFFFF;
--color-accent: #556B2F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1202;
--color-surface: #151C0A;
--color-border: #29321B;
--color-text: #D7EAC7;
--color-muted: #79866D;
--color-primary: #ADFF2F;
--color-on-primary: #0C1202;
--color-accent: #586E32;
--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 #ADFF2F | adjusted for contrast · from #556B2F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #556B2F | adjusted for contrast · from #8FBC8F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6B8E23 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #556B2F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 5.57:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.94:1 | AAA pass 4.5:1 | |
| Text on surface | 13.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 15.52:1 | AAA pass 4.5:1 | |
| Label on accent | 5.69:1 | AA pass 4.5:1 | |
| Primary on background | 15.52:1 | AAA pass 3:1 | |
| Accent on background | 3.35: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 | #556B2F (Text 1) | #6B8E23 (Text 2) | #8FBC8F (Text 3) | #9ACD32 (Text 4) | #ADFF2F (Text 5) |
|---|---|---|---|---|---|
| #556B2F | Same color | 1.56— | 2.76— | 3.16AA Large | 4.85AA |
| #6B8E23 | 1.56— | Same color | 1.77— | 2.02— | 3.10AA Large |
| #8FBC8F | 2.76— | 1.77— | Same color | 1.14— | 1.75— |
| #9ACD32 | 3.16AA Large | 2.02— | 1.14— | Same color | 1.54— |
| #ADFF2F | 4.85AA | 3.10AA Large | 1.75— | 1.54— | Same color |
Shades
Shades and tints (50–950)
