PreviewingGo to this paletteOpen in generator
Code
/* Emerald Silver — colorset.net */
:root {
--color-1: #228B22;
--color-2: #32CD32;
--color-3: #D3D3D3;
--color-4: #C0C0C0;
--color-5: #A9A9A9;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #295627;
--color-muted: #5D715C;
--color-primary: #008808;
--color-on-primary: #FFFFFF;
--color-accent: #888888;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #D3D3D3;
--color-muted: #848484;
--color-primary: #32CD32;
--color-on-primary: #061305;
--color-accent: #1D881E;
--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 #D3D3D3 | adjusted for contrast · from #228B22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #228B22 | from palette · color 3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A9A9A9 | adjusted for contrast · from #228B22 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.99:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.72:1 | AAA pass 4.5:1 | |
| Text on surface | 11.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 8.99:1 | AAA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 8.99:1 | AAA pass 3:1 | |
| Accent on background | 4.16: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 | #228B22 (Text 1) | #32CD32 (Text 2) | #D3D3D3 (Text 3) | #C0C0C0 (Text 4) | #A9A9A9 (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 2.07— | 2.93— | 2.41— | 1.87— |
| #32CD32 | 2.07— | Same color | 1.41— | 1.16— | 1.11— |
| #D3D3D3 | 2.93— | 1.41— | Same color | 1.22— | 1.57— |
| #C0C0C0 | 2.41— | 1.16— | 1.22— | Same color | 1.29— |
| #A9A9A9 | 1.87— | 1.11— | 1.57— | 1.29— | Same color |
Shades
Shades and tints (50–950)
