PreviewingGo to this paletteOpen in generator
Code
/* Olive Sprout — colorset.net */
:root {
--color-1: #6B8E23;
--color-2: #7BA428;
--color-3: #8BBA2D;
--color-4: #9BD032;
--color-5: #ABE637;
--color-bg: #F3FAEB;
--color-surface: #EAF0E2;
--color-border: #D0D8C7;
--color-text: #405518;
--color-muted: #646E55;
--color-primary: #5D7F09;
--color-on-primary: #FFFFFF;
--color-accent: #6C9600;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1202;
--color-surface: #151C0A;
--color-border: #29321B;
--color-text: #C6D6B3;
--color-muted: #7C876D;
--color-primary: #5D7F09;
--color-on-primary: #FFFFFF;
--color-accent: #ABE637;
--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 #ABE637 | adjusted for contrast · from #6B8E23 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6B8E23 | adjusted for contrast · from #9BD032 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6B8E23 | adjusted for contrast · from #6B8E23 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6B8E23 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.37:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.41:1 | AAA pass 4.5:1 | |
| Text on surface | 11.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 12.80:1 | AAA pass 4.5:1 | |
| Primary on background | 4.09:1 | AA Large pass 3:1 | |
| Accent on background | 12.80: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 | #6B8E23 (Text 1) | #7BA428 (Text 2) | #8BBA2D (Text 3) | #9BD032 (Text 4) | #ABE637 (Text 5) |
|---|---|---|---|---|---|
| #6B8E23 | Same color | 1.30— | 1.66— | 2.08— | 2.56— |
| #7BA428 | 1.30— | Same color | 1.28— | 1.60— | 1.96— |
| #8BBA2D | 1.66— | 1.28— | Same color | 1.25— | 1.54— |
| #9BD032 | 2.08— | 1.60— | 1.25— | Same color | 1.23— |
| #ABE637 | 2.56— | 1.96— | 1.54— | 1.23— | Same color |
Shades
Shades and tints (50–950)
