PreviewingGo to this paletteOpen in generator
Code
/* Emerald Lawn — colorset.net */
:root {
--color-1: #046307;
--color-2: #008000;
--color-3: #228B22;
--color-4: #32CD32;
--color-5: #50C878;
--color-bg: #EEFBF0;
--color-surface: #E4F2E7;
--color-border: #CADACD;
--color-text: #2B5728;
--color-muted: #5C6F5A;
--color-primary: #00A00B;
--color-on-primary: #000000;
--color-accent: #046307;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #96B69D;
--color-muted: #708875;
--color-primary: #32CD32;
--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 #50C878 | adjusted for contrast · from #046307 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #046307 | adjusted for contrast · from #50C878 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 1 | adjusted for contrast · from #008000 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 6.03:1 | AA pass 4.5:1 | |
| Label on accent | 7.52:1 | AAA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 7.05:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.59:1 | AAA pass 4.5:1 | |
| Text on surface | 7.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 8.99:1 | AAA pass 4.5:1 | |
| Label on accent | 5.54:1 | AA pass 4.5:1 | |
| Primary on background | 8.99: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) | #008000 (Text 2) | #228B22 (Text 3) | #32CD32 (Text 4) | #50C878 (Text 5) |
|---|---|---|---|---|---|
| #046307 | Same color | 1.46— | 1.71— | 3.55AA Large | 3.54AA Large |
| #008000 | 1.46— | Same color | 1.17— | 2.43— | 2.42— |
| #228B22 | 1.71— | 1.17— | Same color | 2.07— | 2.06— |
| #32CD32 | 3.55AA Large | 2.43— | 2.07— | Same color | 1.00— |
| #50C878 | 3.54AA Large | 2.42— | 2.06— | 1.00— | Same color |
Shades
Shades and tints (50–950)
