PreviewingGo to this paletteOpen in generator
Code
/* Fresh Sprout — colorset.net */
:root {
--color-1: #76B900;
--color-2: #8CC83B;
--color-3: #A2D765;
--color-4: #B8E68F;
--color-5: #CEF5B9;
--color-bg: #F1FAED;
--color-surface: #E8F1E3;
--color-border: #CED9C9;
--color-text: #3C571E;
--color-muted: #626F57;
--color-primary: #528300;
--color-on-primary: #FFFFFF;
--color-accent: #5D7F49;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1203;
--color-surface: #141D0B;
--color-border: #27321C;
--color-text: #D9EFCE;
--color-muted: #798971;
--color-primary: #76B900;
--color-on-primary: #0A1203;
--color-accent: #B8E68F;
--color-on-accent: #0A1203;
}
}
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 #CEF5B9 | adjusted for contrast · from #76B900 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #76B900 | adjusted for contrast · from #CEF5B9 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #76B900 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #76B900 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.63:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.62:1 | AAA pass 4.5:1 | |
| Text on surface | 14.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 7.91:1 | AAA pass 4.5:1 | |
| Label on accent | 13.40:1 | AAA pass 4.5:1 | |
| Primary on background | 7.91:1 | AAA pass 3:1 | |
| Accent on background | 13.40: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 | #76B900 (Text 1) | #8CC83B (Text 2) | #A2D765 (Text 3) | #B8E68F (Text 4) | #CEF5B9 (Text 5) |
|---|---|---|---|---|---|
| #76B900 | Same color | 1.20— | 1.43— | 1.69— | 2.00— |
| #8CC83B | 1.20— | Same color | 1.19— | 1.41— | 1.67— |
| #A2D765 | 1.43— | 1.19— | Same color | 1.19— | 1.40— |
| #B8E68F | 1.69— | 1.41— | 1.19— | Same color | 1.18— |
| #CEF5B9 | 2.00— | 1.67— | 1.40— | 1.18— | Same color |
Shades
Shades and tints (50–950)
