PreviewingGo to this paletteOpen in generator
Code
/* Emerald Mix — colorset.net */
:root {
--color-1: #32CD32;
--color-2: #90EE90;
--color-3: #DC143C;
--color-4: #FF0000;
--color-5: #FF6347;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #7A3A3B;
--color-muted: #816362;
--color-primary: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #008808;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0909;
--color-surface: #281313;
--color-border: #402625;
--color-text: #C1DDBF;
--color-muted: #748873;
--color-primary: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #32CD32;
--color-on-accent: #1C0909;
}
}
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 #90EE90 | adjusted for contrast · from #DC143C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DC143C | adjusted for contrast · from #90EE90 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0000 | adjusted for contrast · from #FF0000 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #32CD32 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.38:1 | AA Large pass 3:1 | |
| Accent on background | 4.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.15:1 | AAA pass 4.5:1 | |
| Text on surface | 12.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 9.08:1 | AAA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 9.08: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 | #32CD32 (Text 1) | #90EE90 (Text 2) | #DC143C (Text 3) | #FF0000 (Text 4) | #FF6347 (Text 5) |
|---|---|---|---|---|---|
| #32CD32 | Same color | 1.49— | 2.36— | 1.89— | 1.39— |
| #90EE90 | 1.49— | Same color | 3.52AA Large | 2.82— | 2.08— |
| #DC143C | 2.36— | 3.52AA Large | Same color | 1.25— | 1.69— |
| #FF0000 | 1.89— | 2.82— | 1.25— | Same color | 1.36— |
| #FF6347 | 1.39— | 2.08— | 1.69— | 1.36— | Same color |
Shades
Shades and tints (50–950)
