PreviewingGo to this paletteOpen in generator
Code
/* Willow Soft — colorset.net */
:root {
--color-1: #9ACD32;
--color-2: #ADDC4D;
--color-3: #C1E868;
--color-4: #D5F083;
--color-5: #E8F89D;
--color-bg: #F6F9EA;
--color-surface: #ECEFE1;
--color-border: #D3D7C5;
--color-text: #3F5417;
--color-muted: #636D55;
--color-primary: #5D8100;
--color-on-primary: #FFFFFF;
--color-accent: #7C921D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1202;
--color-surface: #151C0A;
--color-border: #28321B;
--color-text: #EBF2CD;
--color-muted: #848A6F;
--color-primary: #9ACD32;
--color-on-primary: #0B1202;
--color-accent: #E8F89D;
--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 #E8F89D | adjusted for contrast · from #9ACD32 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9ACD32 | adjusted for contrast · from #E8F89D |
| 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.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.99:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.44:1 | AAA pass 4.5:1 | |
| Text on surface | 15.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 10.12:1 | AAA pass 4.5:1 | |
| Label on accent | 16.65:1 | AAA pass 4.5:1 | |
| Primary on background | 10.12:1 | AAA pass 3:1 | |
| Accent on background | 16.65: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) | #C1E868 (Text 3) | #D5F083 (Text 4) | #E8F89D (Text 5) |
|---|---|---|---|---|---|
| #9ACD32 | Same color | 1.18— | 1.35— | 1.49— | 1.64— |
| #ADDC4D | 1.18— | Same color | 1.14— | 1.27— | 1.40— |
| #C1E868 | 1.35— | 1.14— | Same color | 1.11— | 1.22— |
| #D5F083 | 1.49— | 1.27— | 1.11— | Same color | 1.10— |
| #E8F89D | 1.64— | 1.40— | 1.22— | 1.10— | Same color |
Shades
Shades and tints (50–950)
