PreviewingGo to this paletteOpen in generator
Code
/* Olive Chartreuse — colorset.net */
:root {
--color-1: #556B2F;
--color-2: #6B8E23;
--color-3: #9ACD32;
--color-4: #ADFF2F;
--color-5: #CAFF70;
--color-bg: #F3FAEB;
--color-surface: #EAF0E2;
--color-border: #D0D8C7;
--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: #E1F0CD;
--color-muted: #7E896F;
--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 #CAFF70 | adjusted for contrast · from #556B2F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #556B2F | adjusted for contrast · from #CAFF70 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6B8E23 | from palette · color 4 |
| 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.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06: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.31:1 | AA Large pass 3:1 | |
| Accent on background | 5.58:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.91:1 | AAA pass 4.5:1 | |
| Text on surface | 14.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.16: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) | #9ACD32 (Text 3) | #ADFF2F (Text 4) | #CAFF70 (Text 5) |
|---|---|---|---|---|---|
| #556B2F | Same color | 1.56— | 3.16AA Large | 4.85AA | 5.11AA |
| #6B8E23 | 1.56— | Same color | 2.02— | 3.10AA Large | 3.27AA Large |
| #9ACD32 | 3.16AA Large | 2.02— | Same color | 1.54— | 1.62— |
| #ADFF2F | 4.85AA | 3.10AA Large | 1.54— | Same color | 1.05— |
| #CAFF70 | 5.11AA | 3.27AA Large | 1.62— | 1.05— | Same color |
Shades
Shades and tints (50–950)
