PreviewingGo to this paletteOpen in generator
Code
/* Emerald Green — colorset.net */
:root {
--color-1: #50C878;
--color-2: #00A86B;
--color-3: #00C957;
--color-4: #40E0D0;
--color-5: #7FFFD4;
--color-bg: #EBFBF4;
--color-surface: #E1F2EB;
--color-border: #C6DAD2;
--color-text: #0D5A39;
--color-muted: #567061;
--color-primary: #008939;
--color-on-primary: #FFFFFF;
--color-accent: #00847A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #02140A;
--color-surface: #091E13;
--color-border: #1B3426;
--color-text: #C3EEDD;
--color-muted: #6A897D;
--color-primary: #00C957;
--color-on-primary: #02140A;
--color-accent: #40E0D0;
--color-on-accent: #02140A;
}
}
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 #7FFFD4 | adjusted for contrast · from #00A86B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #00A86B | adjusted for contrast · from #7FFFD4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #00A86B | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #00A86B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 4.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.99:1 | AAA pass 4.5:1 | |
| Text on surface | 13.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 8.57:1 | AAA pass 4.5:1 | |
| Label on accent | 11.55:1 | AAA pass 4.5:1 | |
| Primary on background | 8.57:1 | AAA pass 3:1 | |
| Accent on background | 11.55: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 | #50C878 (Text 1) | #00A86B (Text 2) | #00C957 (Text 3) | #40E0D0 (Text 4) | #7FFFD4 (Text 5) |
|---|---|---|---|---|---|
| #50C878 | Same color | 1.45— | 1.04— | 1.30— | 1.74— |
| #00A86B | 1.45— | Same color | 1.39— | 1.88— | 2.52— |
| #00C957 | 1.04— | 1.39— | Same color | 1.35— | 1.81— |
| #40E0D0 | 1.30— | 1.88— | 1.35— | Same color | 1.34— |
| #7FFFD4 | 1.74— | 2.52— | 1.81— | 1.34— | Same color |
Shades
Shades and tints (50–950)
