PreviewingGo to this paletteOpen in generator
Code
/* Emerald Sprout — colorset.net */
:root {
--color-1: #046307;
--color-2: #0A8F08;
--color-3: #0FBF0F;
--color-4: #3DD93D;
--color-5: #7FEF7F;
--color-bg: #EFFBEE;
--color-surface: #E6F1E5;
--color-border: #CCD9CB;
--color-text: #2B5728;
--color-muted: #5C6F5A;
--color-primary: #008A01;
--color-on-primary: #FFFFFF;
--color-accent: #046307;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #BEDABD;
--color-muted: #758A74;
--color-primary: #0FBF0F;
--color-on-primary: #061305;
--color-accent: #257823;
--color-on-accent: #FFFFFF;
}
}
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 #7FEF7F | adjusted for contrast · from #046307 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #046307 | adjusted for contrast · from #7FEF7F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #0A8F08 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #046307 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 7.52:1 | AAA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 7.05:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.65:1 | AAA pass 4.5:1 | |
| Text on surface | 11.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.12:1 | AA pass 4.5:1 | |
| Label on primary | 7.69:1 | AAA pass 4.5:1 | |
| Label on accent | 5.54:1 | AA pass 4.5:1 | |
| Primary on background | 7.69:1 | AAA pass 3:1 | |
| Accent on background | 3.44:1 | AA Large 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 | #046307 (Text 1) | #0A8F08 (Text 2) | #0FBF0F (Text 3) | #3DD93D (Text 4) | #7FEF7F (Text 5) |
|---|---|---|---|---|---|
| #046307 | Same color | 1.77— | 3.04AA Large | 4.01AA Large | 5.21AA |
| #0A8F08 | 1.77— | Same color | 1.71— | 2.26— | 2.94— |
| #0FBF0F | 3.04AA Large | 1.71— | Same color | 1.32— | 1.72— |
| #3DD93D | 4.01AA Large | 2.26— | 1.32— | Same color | 1.30— |
| #7FEF7F | 5.21AA | 2.94— | 1.72— | 1.30— | Same color |
Shades
Shades and tints (50–950)
