PreviewingGo to this paletteOpen in generator
Code
/* Green Spring — colorset.net */
:root {
--color-1: #F7FEE7;
--color-2: #ECFDF5;
--color-3: #D1FAE5;
--color-4: #A7F3D0;
--color-5: #6EE7B7;
--color-bg: #F7FEE7;
--color-surface: #EEF5DE;
--color-border: #D5DCC2;
--color-text: #005D42;
--color-muted: #567466;
--color-primary: #009C71;
--color-on-primary: #000000;
--color-accent: #888E79;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #00140C;
--color-surface: #071E15;
--color-border: #193429;
--color-text: #F7FEE7;
--color-muted: #8A907B;
--color-primary: #6EE7B7;
--color-on-primary: #00140C;
--color-accent: #A7F3D0;
--color-on-accent: #00140C;
}
}
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 | from palette · color 1 | adjusted for contrast · from #6EE7B7 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6EE7B7 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #6EE7B7 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6EE7B7 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 6.19:1 | AA pass 4.5:1 | |
| Primary on background | 3.38:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.35:1 | AAA pass 4.5:1 | |
| Text on surface | 16.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.75:1 | AA pass 4.5:1 | |
| Label on primary | 12.46:1 | AAA pass 4.5:1 | |
| Label on accent | 14.81:1 | AAA pass 4.5:1 | |
| Primary on background | 12.46:1 | AAA pass 3:1 | |
| Accent on background | 14.81: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 | #F7FEE7 (Text 1) | #ECFDF5 (Text 2) | #D1FAE5 (Text 3) | #A7F3D0 (Text 4) | #6EE7B7 (Text 5) |
|---|---|---|---|---|---|
| #F7FEE7 | Same color | 1.02— | 1.10— | 1.24— | 1.47— |
| #ECFDF5 | 1.02— | Same color | 1.08— | 1.22— | 1.45— |
| #D1FAE5 | 1.10— | 1.08— | Same color | 1.13— | 1.34— |
| #A7F3D0 | 1.24— | 1.22— | 1.13— | Same color | 1.19— |
| #6EE7B7 | 1.47— | 1.45— | 1.34— | 1.19— | Same color |
Shades
Shades and tints (50–950)
