PreviewingGo to this paletteOpen in generator
Code
/* Pistachio Scoop — colorset.net */
:root {
--color-1: #EBF6E1;
--color-2: #CDE9B1;
--color-3: #B1DFB1;
--color-4: #F7E6C3;
--color-5: #DDAB90;
--color-bg: #EBF6E1;
--color-surface: #F5FCEF;
--color-border: #D1DEC6;
--color-text: #72472E;
--color-muted: #82685A;
--color-primary: #AF8066;
--color-on-primary: #000000;
--color-accent: #6A966B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190C05;
--color-surface: #24160E;
--color-border: #3B291F;
--color-text: #EBF6E1;
--color-muted: #838C79;
--color-primary: #DDAB90;
--color-on-primary: #190C05;
--color-accent: #B1DFB1;
--color-on-accent: #190C05;
}
}
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 #DDAB90 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DDAB90 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DDAB90 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DDAB90 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.08:1 | AAA pass 4.5:1 | |
| Text on surface | 7.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 6.19:1 | AA pass 4.5:1 | |
| Primary on background | 3.08:1 | AA Large pass 3:1 | |
| Accent on background | 3.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.15:1 | AAA pass 4.5:1 | |
| Text on surface | 15.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.47:1 | AA pass 4.5:1 | |
| Label on primary | 9.40:1 | AAA pass 4.5:1 | |
| Label on accent | 12.83:1 | AAA pass 4.5:1 | |
| Primary on background | 9.40:1 | AAA pass 3:1 | |
| Accent on background | 12.83: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 | #EBF6E1 (Text 1) | #CDE9B1 (Text 2) | #B1DFB1 (Text 3) | #F7E6C3 (Text 4) | #DDAB90 (Text 5) |
|---|---|---|---|---|---|
| #EBF6E1 | Same color | 1.18— | 1.34— | 1.10— | 1.83— |
| #CDE9B1 | 1.18— | Same color | 1.13— | 1.07— | 1.54— |
| #B1DFB1 | 1.34— | 1.13— | Same color | 1.21— | 1.36— |
| #F7E6C3 | 1.10— | 1.07— | 1.21— | Same color | 1.66— |
| #DDAB90 | 1.83— | 1.54— | 1.36— | 1.66— | Same color |
Shades
Shades and tints (50–950)
