PreviewingGo to this paletteOpen in generator
Code
/* Pistachio Shell Green — colorset.net */
:root {
--color-1: #93C572;
--color-2: #A8D388;
--color-3: #BDE19E;
--color-4: #D2EFB4;
--color-5: #E7FDCA;
--color-bg: #F3FAEB;
--color-surface: #EAF0E2;
--color-border: #D0D8C7;
--color-text: #375720;
--color-muted: #606F58;
--color-primary: #669644;
--color-on-primary: #000000;
--color-accent: #647D47;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091304;
--color-surface: #131D0C;
--color-border: #25321D;
--color-text: #EBFAD6;
--color-muted: #838E74;
--color-primary: #93C572;
--color-on-primary: #091304;
--color-accent: #D2EFB4;
--color-on-accent: #091304;
}
}
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 #E7FDCA | adjusted for contrast · from #93C572 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #93C572 | adjusted for contrast · from #E7FDCA |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #93C572 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #93C572 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 4.60:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.33:1 | AAA pass 4.5:1 | |
| Text on surface | 15.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.50:1 | AA pass 4.5:1 | |
| Label on primary | 9.46:1 | AAA pass 4.5:1 | |
| Label on accent | 15.13:1 | AAA pass 4.5:1 | |
| Primary on background | 9.46:1 | AAA pass 3:1 | |
| Accent on background | 15.13: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 | #93C572 (Text 1) | #A8D388 (Text 2) | #BDE19E (Text 3) | #D2EFB4 (Text 4) | #E7FDCA (Text 5) |
|---|---|---|---|---|---|
| #93C572 | Same color | 1.18— | 1.38— | 1.60— | 1.84— |
| #A8D388 | 1.18— | Same color | 1.17— | 1.36— | 1.56— |
| #BDE19E | 1.38— | 1.17— | Same color | 1.16— | 1.34— |
| #D2EFB4 | 1.60— | 1.36— | 1.16— | Same color | 1.15— |
| #E7FDCA | 1.84— | 1.56— | 1.34— | 1.15— | Same color |
Shades
Shades and tints (50–950)
