PreviewingGo to this paletteOpen in generator
Code
/* Shamrock Green — colorset.net */
:root {
--color-1: #009E60;
--color-2: #00B877;
--color-3: #00D28E;
--color-4: #33DDA5;
--color-5: #66E8BC;
--color-bg: #EBFBF4;
--color-surface: #E1F2EB;
--color-border: #C6DAD2;
--color-text: #125A37;
--color-muted: #567060;
--color-primary: #008651;
--color-on-primary: #FFFFFF;
--color-accent: #009C76;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #021409;
--color-surface: #0A1E13;
--color-border: #1C3426;
--color-text: #AED8C6;
--color-muted: #6A897C;
--color-primary: #009E60;
--color-on-primary: #021409;
--color-accent: #66E8BC;
--color-on-accent: #021409;
}
}
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 #66E8BC | adjusted for contrast · from #009E60 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #009E60 | adjusted for contrast · from #66E8BC |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #009E60 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #009E60 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.12: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.34:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.14:1 | AAA pass 4.5:1 | |
| Text on surface | 11.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 5.48:1 | AA pass 4.5:1 | |
| Label on accent | 12.50:1 | AAA pass 4.5:1 | |
| Primary on background | 5.48:1 | AA pass 3:1 | |
| Accent on background | 12.50: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 | #009E60 (Text 1) | #00B877 (Text 2) | #00D28E (Text 3) | #33DDA5 (Text 4) | #66E8BC (Text 5) |
|---|---|---|---|---|---|
| #009E60 | Same color | 1.34— | 1.75— | 1.98— | 2.28— |
| #00B877 | 1.34— | Same color | 1.31— | 1.48— | 1.70— |
| #00D28E | 1.75— | 1.31— | Same color | 1.13— | 1.30— |
| #33DDA5 | 1.98— | 1.48— | 1.13— | Same color | 1.15— |
| #66E8BC | 2.28— | 1.70— | 1.30— | 1.15— | Same color |
Shades
Shades and tints (50–950)
