PreviewingGo to this paletteOpen in generator
Code
/* Emerald Vault — colorset.net */
:root {
--color-1: #0A1A16;
--color-2: #2BB673;
--color-3: #E8C468;
--color-4: #1F3A32;
--color-5: #E9F3EE;
--color-bg: #E9F3EE;
--color-surface: #F3F9F6;
--color-border: #CEDBD5;
--color-text: #0A1A16;
--color-muted: #5B6D68;
--color-primary: #009F60;
--color-on-primary: #0A1A16;
--color-accent: #A88521;
--color-on-accent: #0A1A16;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1A16;
--color-surface: #142520;
--color-border: #263B35;
--color-text: #E9F3EE;
--color-muted: #858E8A;
--color-primary: #2BB673;
--color-on-primary: #0A1A16;
--color-accent: #E8C468;
--color-on-accent: #0A1A16;
}
}
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 #2BB673 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2BB673 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.80:1 | AAA pass 4.5:1 | |
| Text on surface | 16.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.83:1 | AA pass 4.5:1 | |
| Label on primary | 5.23:1 | AA pass 4.5:1 | |
| Label on accent | 5.15:1 | AA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.80:1 | AAA pass 4.5:1 | |
| Text on surface | 14.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 6.86:1 | AA pass 4.5:1 | |
| Label on accent | 10.69:1 | AAA pass 4.5:1 | |
| Primary on background | 6.86:1 | AA pass 3:1 | |
| Accent on background | 10.69: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 | #0A1A16 (Text 1) | #2BB673 (Text 2) | #E8C468 (Text 3) | #1F3A32 (Text 4) | #E9F3EE (Text 5) |
|---|---|---|---|---|---|
| #0A1A16 | Same color | 6.86AA | 10.69AAA | 1.46— | 15.80AAA |
| #2BB673 | 6.86AA | Same color | 1.56— | 4.70AA | 2.30— |
| #E8C468 | 10.69AAA | 1.56— | Same color | 7.33AAA | 1.48— |
| #1F3A32 | 1.46— | 4.70AA | 7.33AAA | Same color | 10.83AAA |
| #E9F3EE | 15.80AAA | 2.30— | 1.48— | 10.83AAA | Same color |
Shades
Shades and tints (50–950)
