PreviewingGo to this paletteOpen in generator
Code
/* Sprout — colorset.net */
:root {
--color-1: #182219;
--color-2: #9BD06B;
--color-3: #F2A3B5;
--color-4: #2E3B2F;
--color-5: #EEF5E9;
--color-bg: #EEF5E9;
--color-surface: #F7FBF4;
--color-border: #D4DDCE;
--color-text: #182219;
--color-muted: #647065;
--color-primary: #689A34;
--color-on-primary: #182219;
--color-accent: #C07587;
--color-on-accent: #182219;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #182219;
--color-surface: #232D24;
--color-border: #364437;
--color-text: #EEF5E9;
--color-muted: #8E9489;
--color-primary: #9BD06B;
--color-on-primary: #182219;
--color-accent: #F2A3B5;
--color-on-accent: #182219;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9BD06B | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F2A3B5 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.73:1 | AAA pass 4.5:1 | |
| Text on surface | 15.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.66:1 | AA pass 4.5:1 | |
| Label on primary | 4.88:1 | AA pass 4.5:1 | |
| Label on accent | 4.79:1 | AA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 3.08:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.73:1 | AAA pass 4.5:1 | |
| Text on surface | 12.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 9.07:1 | AAA pass 4.5:1 | |
| Label on accent | 8.33:1 | AAA pass 4.5:1 | |
| Primary on background | 9.07:1 | AAA pass 3:1 | |
| Accent on background | 8.33: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 | #182219 (Text 1) | #9BD06B (Text 2) | #F2A3B5 (Text 3) | #2E3B2F (Text 4) | #EEF5E9 (Text 5) |
|---|---|---|---|---|---|
| #182219 | Same color | 9.07AAA | 8.33AAA | 1.39— | 14.73AAA |
| #9BD06B | 9.07AAA | Same color | 1.09— | 6.52AA | 1.62— |
| #F2A3B5 | 8.33AAA | 1.09— | Same color | 5.99AA | 1.77— |
| #2E3B2F | 1.39— | 6.52AA | 5.99AA | Same color | 10.59AAA |
| #EEF5E9 | 14.73AAA | 1.62— | 1.77— | 10.59AAA | Same color |
Shades
Shades and tints (50–950)
