PreviewingGo to this paletteOpen in generator
Code
/* Pistachio Gelato — colorset.net */
:root {
--color-1: #E8F5E8;
--color-2: #C8E6C9;
--color-3: #A5D6A7;
--color-4: #81C784;
--color-5: #66BB6A;
--color-bg: #E8F5E8;
--color-surface: #F3FBF3;
--color-border: #CEDDCE;
--color-text: #29592C;
--color-muted: #5C715C;
--color-primary: #469B4C;
--color-on-primary: #000000;
--color-accent: #808C80;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #051306;
--color-surface: #0F1E0F;
--color-border: #213321;
--color-text: #E8F5E8;
--color-muted: #808C80;
--color-primary: #66BB6A;
--color-on-primary: #051306;
--color-accent: #C8E6C9;
--color-on-accent: #051306;
}
}
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 | from palette · color 1 | adjusted for contrast · from #66BB6A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #66BB6A | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #66BB6A | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #66BB6A | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.29:1 | AAA pass 4.5:1 | |
| Text on surface | 7.78:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 6.05:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 3.08:1 | AA Large pass 3:1 | |
| Accent on background | 3.12:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.93:1 | AAA pass 4.5:1 | |
| Text on surface | 15.38:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.43:1 | AA pass 4.5:1 | |
| Label on primary | 8.06:1 | AAA pass 4.5:1 | |
| Label on accent | 14.17:1 | AAA pass 4.5:1 | |
| Primary on background | 8.06:1 | AAA pass 3:1 | |
| Accent on background | 14.17: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 | #E8F5E8 (Text 1) | #C8E6C9 (Text 2) | #A5D6A7 (Text 3) | #81C784 (Text 4) | #66BB6A (Text 5) |
|---|---|---|---|---|---|
| #E8F5E8 | Same color | 1.19— | 1.46— | 1.79— | 2.10— |
| #C8E6C9 | 1.19— | Same color | 1.22— | 1.50— | 1.76— |
| #A5D6A7 | 1.46— | 1.22— | Same color | 1.22— | 1.44— |
| #81C784 | 1.79— | 1.50— | 1.22— | Same color | 1.18— |
| #66BB6A | 2.10— | 1.76— | 1.44— | 1.18— | Same color |
Shades
Shades and tints (50–950)
