PreviewingGo to this paletteOpen in generator
Code
/* Woodland Spring — colorset.net */
:root {
--color-1: #228B22;
--color-2: #3CB371;
--color-3: #66CDAA;
--color-4: #90EE90;
--color-5: #C7F2C7;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBDACB;
--color-text: #2C592A;
--color-muted: #5C705B;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #2C9A79;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #D1EED0;
--color-muted: #738873;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #66CDAA;
--color-on-accent: #061305;
}
}
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 #C7F2C7 | adjusted for contrast · from #228B22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #228B22 | adjusted for contrast · from #C7F2C7 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3CB371 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.28:1 | AAA pass 4.5:1 | |
| Text on surface | 13.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 9.86:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 9.86: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 | #228B22 (Text 1) | #3CB371 (Text 2) | #66CDAA (Text 3) | #90EE90 (Text 4) | #C7F2C7 (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 1.65— | 2.27— | 3.10AA Large | 3.54AA Large |
| #3CB371 | 1.65— | Same color | 1.38— | 1.88— | 2.15— |
| #66CDAA | 2.27— | 1.38— | Same color | 1.36— | 1.56— |
| #90EE90 | 3.10AA Large | 1.88— | 1.36— | Same color | 1.14— |
| #C7F2C7 | 3.54AA Large | 2.15— | 1.56— | 1.14— | Same color |
Shades
Shades and tints (50–950)
