PreviewingGo to this paletteOpen in generator
Code
/* Pistachio Macaron — colorset.net */
:root {
--color-1: #93C572;
--color-2: #A4D49B;
--color-3: #B5E3C4;
--color-4: #C7F2D4;
--color-5: #E0FFE6;
--color-bg: #E0FFE6;
--color-surface: #F8FFF9;
--color-border: #CAE5D0;
--color-text: #3D5D26;
--color-muted: #66755D;
--color-primary: #6C9C4A;
--color-on-primary: #000000;
--color-accent: #79957E;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091304;
--color-surface: #131D0C;
--color-border: #25321D;
--color-text: #E0FFE6;
--color-muted: #79927E;
--color-primary: #93C572;
--color-on-primary: #091304;
--color-accent: #C7F2D4;
--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.03:1 | AAA pass 4.5:1 | |
| Text on surface | 7.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.60:1 | AA pass 4.5:1 | |
| Label on primary | 6.49:1 | AA pass 4.5:1 | |
| Label on accent | 6.41:1 | AA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.73:1 | AAA pass 4.5:1 | |
| Text on surface | 16.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.63:1 | AA pass 4.5:1 | |
| Label on primary | 9.46:1 | AAA pass 4.5:1 | |
| Label on accent | 15.44:1 | AAA pass 4.5:1 | |
| Primary on background | 9.46:1 | AAA pass 3:1 | |
| Accent on background | 15.44: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) | #A4D49B (Text 2) | #B5E3C4 (Text 3) | #C7F2D4 (Text 4) | #E0FFE6 (Text 5) |
|---|---|---|---|---|---|
| #93C572 | Same color | 1.19— | 1.41— | 1.63— | 1.87— |
| #A4D49B | 1.19— | Same color | 1.18— | 1.37— | 1.57— |
| #B5E3C4 | 1.41— | 1.18— | Same color | 1.16— | 1.33— |
| #C7F2D4 | 1.63— | 1.37— | 1.16— | Same color | 1.15— |
| #E0FFE6 | 1.87— | 1.57— | 1.33— | 1.15— | Same color |
Shades
Shades and tints (50–950)
