PreviewingGo to this paletteOpen in generator
Code
/* Emerald Depths — colorset.net */
:root {
--color-1: #022C22;
--color-2: #064E3B;
--color-3: #047857;
--color-4: #059669;
--color-5: #10B981;
--color-bg: #ECFBF3;
--color-surface: #E2F2E9;
--color-border: #C7DAD0;
--color-text: #022C22;
--color-muted: #527167;
--color-primary: #00855C;
--color-on-primary: #FFFFFF;
--color-accent: #064E3B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #06120E;
--color-surface: #101C18;
--color-border: #21322C;
--color-text: #88AE9A;
--color-muted: #6D8A7B;
--color-primary: #00855C;
--color-on-primary: #FFFFFF;
--color-accent: #466D61;
--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 #10B981 | adjusted for contrast · from #022C22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #10B981 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #047857 | adjusted for contrast · from #047857 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #047857 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.18:1 | AAA pass 4.5:1 | |
| Text on surface | 13.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 9.72:1 | AAA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 9.10:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 5.80:1 | AA pass 4.5:1 | |
| Primary on background | 4.10:1 | AA Large pass 3:1 | |
| Accent on background | 3.29: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 | #022C22 (Text 1) | #064E3B (Text 2) | #047857 (Text 3) | #059669 (Text 4) | #10B981 (Text 5) |
|---|---|---|---|---|---|
| #022C22 | Same color | 1.56— | 2.76— | 4.02AA Large | 5.97AA |
| #064E3B | 1.56— | Same color | 1.77— | 2.58— | 3.83AA Large |
| #047857 | 2.76— | 1.77— | Same color | 1.46— | 2.16— |
| #059669 | 4.02AA Large | 2.58— | 1.46— | Same color | 1.49— |
| #10B981 | 5.97AA | 3.83AA Large | 2.16— | 1.49— | Same color |
Shades
Shades and tints (50–950)
