PreviewingGo to this paletteOpen in generator
Code
/* Emerald Strongbox — colorset.net */
:root {
--color-1: #F5F2EA;
--color-2: #0B6E4F;
--color-3: #7B2D8E;
--color-4: #D4A72C;
--color-5: #12211B;
--color-bg: #F5F2EA;
--color-surface: #FBF9F5;
--color-border: #DED9CE;
--color-text: #12211B;
--color-muted: #5F7068;
--color-primary: #7B2D8E;
--color-on-primary: #FFFFFF;
--color-accent: #AE8600;
--color-on-accent: #12211B;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #12211B;
--color-surface: #1D2C26;
--color-border: #2F433A;
--color-text: #F5F2EA;
--color-muted: #939089;
--color-primary: #A052B4;
--color-on-primary: #FFFFFF;
--color-accent: #D4A72C;
--color-on-accent: #12211B;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #7B2D8E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D4A72C | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.91:1 | AAA pass 4.5:1 | |
| Text on surface | 15.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 8.05:1 | AAA pass 4.5:1 | |
| Label on accent | 4.93:1 | AA pass 4.5:1 | |
| Primary on background | 7.20:1 | AAA pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.91:1 | AAA pass 4.5:1 | |
| Text on surface | 13.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.23:1 | AA pass 4.5:1 | |
| Label on primary | 4.82:1 | AA pass 4.5:1 | |
| Label on accent | 7.44:1 | AAA pass 4.5:1 | |
| Primary on background | 3.46:1 | AA Large pass 3:1 | |
| Accent on background | 7.44: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 | #F5F2EA (Text 1) | #0B6E4F (Text 2) | #7B2D8E (Text 3) | #D4A72C (Text 4) | #12211B (Text 5) |
|---|---|---|---|---|---|
| #F5F2EA | Same color | 5.59AA | 7.20AAA | 2.00— | 14.91AAA |
| #0B6E4F | 5.59AA | Same color | 1.29— | 2.79— | 2.67— |
| #7B2D8E | 7.20AAA | 1.29— | Same color | 3.59AA Large | 2.07— |
| #D4A72C | 2.00— | 2.79— | 3.59AA Large | Same color | 7.44AAA |
| #12211B | 14.91AAA | 2.67— | 2.07— | 7.44AAA | Same color |
Shades
Shades and tints (50–950)
