PreviewingGo to this paletteOpen in generator
Code
/* Willow Leaf — colorset.net */
:root {
--color-1: #8A9A5B;
--color-2: #A0AE77;
--color-3: #B6C293;
--color-4: #CCD6AF;
--color-5: #E2EACB;
--color-bg: #F6F8EF;
--color-surface: #ECEFE6;
--color-border: #D3D7CA;
--color-text: #465313;
--color-muted: #666D53;
--color-primary: #6D7C3E;
--color-on-primary: #FFFFFF;
--color-accent: #848B6F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1202;
--color-surface: #171C08;
--color-border: #2B3119;
--color-text: #E2EACB;
--color-muted: #7F866B;
--color-primary: #8A9A5B;
--color-on-primary: #0D1202;
--color-accent: #CCD6AF;
--color-on-accent: #0D1202;
}
}
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 #E2EACB | adjusted for contrast · from #8A9A5B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8A9A5B | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8A9A5B | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8A9A5B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.90:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.27:1 | AAA pass 4.5:1 | |
| Text on surface | 13.98:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 6.21:1 | AA pass 4.5:1 | |
| Label on accent | 12.50:1 | AAA pass 4.5:1 | |
| Primary on background | 6.21:1 | AA pass 3:1 | |
| Accent on background | 12.50: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 | #8A9A5B (Text 1) | #A0AE77 (Text 2) | #B6C293 (Text 3) | #CCD6AF (Text 4) | #E2EACB (Text 5) |
|---|---|---|---|---|---|
| #8A9A5B | Same color | 1.29— | 1.62— | 2.01— | 2.46— |
| #A0AE77 | 1.29— | Same color | 1.26— | 1.57— | 1.91— |
| #B6C293 | 1.62— | 1.26— | Same color | 1.24— | 1.52— |
| #CCD6AF | 2.01— | 1.57— | 1.24— | Same color | 1.22— |
| #E2EACB | 2.46— | 1.91— | 1.52— | 1.22— | Same color |
Shades
Shades and tints (50–950)
