PreviewingGo to this paletteOpen in generator
Code
/* Olive Soft — colorset.net */
:root {
--color-1: #9ACD32;
--color-2: #ADDC4D;
--color-3: #BDE768;
--color-4: #CCF083;
--color-5: #DDF89D;
--color-bg: #F4F9EB;
--color-surface: #EBF0E1;
--color-border: #D2D8C6;
--color-text: #3F5417;
--color-muted: #636D55;
--color-primary: #5D8100;
--color-on-primary: #FFFFFF;
--color-accent: #364D00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1202;
--color-surface: #151C0A;
--color-border: #28321B;
--color-text: #E5F1CC;
--color-muted: #81896F;
--color-primary: #9ACD32;
--color-on-primary: #0B1202;
--color-accent: #DDF89D;
--color-on-accent: #0B1202;
}
}
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 #DDF89D | adjusted for contrast · from #9ACD32 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9ACD32 | adjusted for contrast · from #DDF89D |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9ACD32 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9ACD32 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 9.47:1 | AAA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 8.83:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.14:1 | AAA pass 4.5:1 | |
| Text on surface | 14.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.21:1 | AA pass 4.5:1 | |
| Label on primary | 10.12:1 | AAA pass 4.5:1 | |
| Label on accent | 16.33:1 | AAA pass 4.5:1 | |
| Primary on background | 10.12:1 | AAA pass 3:1 | |
| Accent on background | 16.33: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 | #9ACD32 (Text 1) | #ADDC4D (Text 2) | #BDE768 (Text 3) | #CCF083 (Text 4) | #DDF89D (Text 5) |
|---|---|---|---|---|---|
| #9ACD32 | Same color | 1.18— | 1.33— | 1.47— | 1.61— |
| #ADDC4D | 1.18— | Same color | 1.13— | 1.25— | 1.37— |
| #BDE768 | 1.33— | 1.13— | Same color | 1.11— | 1.22— |
| #CCF083 | 1.47— | 1.25— | 1.11— | Same color | 1.10— |
| #DDF89D | 1.61— | 1.37— | 1.22— | 1.10— | Same color |
Shades
Shades and tints (50–950)
