PreviewingGo to this paletteOpen in generator
Code
/* Emerald Pool — colorset.net */
:root {
--color-1: #50C878;
--color-2: #00C851;
--color-3: #1E90FF;
--color-4: #32CD32;
--color-5: #98FB98;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #264F7D;
--color-muted: #5A6C81;
--color-primary: #008808;
--color-on-primary: #FFFFFF;
--color-accent: #128AF8;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05101E;
--color-surface: #0D1A29;
--color-border: #1F2F42;
--color-text: #CCE8CB;
--color-muted: #748873;
--color-primary: #32CD32;
--color-on-primary: #05101E;
--color-accent: #1E90FF;
--color-on-accent: #05101E;
}
}
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 #98FB98 | adjusted for contrast · from #1E90FF |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #1E90FF | adjusted for contrast · from #98FB98 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #00C851 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #1E90FF | from palette · color 3 |
| 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.64:1 | AA pass 4.5:1 | |
| Label on accent | 6.02:1 | AA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.53:1 | AAA pass 4.5:1 | |
| Text on surface | 13.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 9.02:1 | AAA pass 4.5:1 | |
| Label on accent | 5.90:1 | AA pass 4.5:1 | |
| Primary on background | 9.02:1 | AAA pass 3:1 | |
| Accent on background | 5.90:1 | AA 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 | #50C878 (Text 1) | #00C851 (Text 2) | #1E90FF (Text 3) | #32CD32 (Text 4) | #98FB98 (Text 5) |
|---|---|---|---|---|---|
| #50C878 | Same color | 1.05— | 1.52— | 1.00— | 1.68— |
| #00C851 | 1.05— | Same color | 1.45— | 1.06— | 1.77— |
| #1E90FF | 1.52— | 1.45— | Same color | 1.53— | 2.56— |
| #32CD32 | 1.00— | 1.06— | 1.53— | Same color | 1.67— |
| #98FB98 | 1.68— | 1.77— | 2.56— | 1.67— | Same color |
Shades
Shades and tints (50–950)
