PreviewingGo to this paletteOpen in generator
Code
/* Pistachio Frost — colorset.net */
:root {
--color-1: #93C572;
--color-2: #B4D388;
--color-3: #C5E1A5;
--color-4: #DCEDC8;
--color-5: #F1F8E9;
--color-bg: #F1F8E9;
--color-surface: #FAFEF5;
--color-border: #D7E0CE;
--color-text: #3A5A23;
--color-muted: #64735B;
--color-primary: #699947;
--color-on-primary: #000000;
--color-accent: #888F81;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091304;
--color-surface: #131D0C;
--color-border: #25321D;
--color-text: #F1F8E9;
--color-muted: #878D7F;
--color-primary: #93C572;
--color-on-primary: #091304;
--color-accent: #DCEDC8;
--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 | from palette · color 5 | adjusted for contrast · from #93C572 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #93C572 | from palette · color 5 |
| 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.25:1 | AAA pass 4.5:1 | |
| Text on surface | 7.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.67:1 | AA pass 4.5:1 | |
| Label on primary | 6.25:1 | AA pass 4.5:1 | |
| Label on accent | 6.29:1 | AA pass 4.5:1 | |
| Primary on background | 3.10:1 | AA Large pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.48:1 | AAA pass 4.5:1 | |
| Text on surface | 16.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.55:1 | AA pass 4.5:1 | |
| Label on primary | 9.46:1 | AAA pass 4.5:1 | |
| Label on accent | 15.36:1 | AAA pass 4.5:1 | |
| Primary on background | 9.46:1 | AAA pass 3:1 | |
| Accent on background | 15.36: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) | #B4D388 (Text 2) | #C5E1A5 (Text 3) | #DCEDC8 (Text 4) | #F1F8E9 (Text 5) |
|---|---|---|---|---|---|
| #93C572 | Same color | 1.20— | 1.40— | 1.62— | 1.85— |
| #B4D388 | 1.20— | Same color | 1.16— | 1.35— | 1.53— |
| #C5E1A5 | 1.40— | 1.16— | Same color | 1.16— | 1.32— |
| #DCEDC8 | 1.62— | 1.35— | 1.16— | Same color | 1.14— |
| #F1F8E9 | 1.85— | 1.53— | 1.32— | 1.14— | Same color |
Shades
Shades and tints (50–950)
