Export

Code

/* Pistachio Milk — colorset.net */
:root {
  --color-1: #C7D9B7;
  --color-2: #D5E5C7;
  --color-3: #E1EFD3;
  --color-4: #EDF7E3;
  --color-5: #F8FFF0;

  --color-bg: #F8FFF0;
  --color-surface: #EFF6E7;
  --color-border: #D5DECB;
  --color-text: #475639;
  --color-muted: #66735A;
  --color-primary: #809071;
  --color-on-primary: #000000;
  --color-accent: #515D45;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0C1108;
    --color-surface: #161B12;
    --color-border: #2A3023;
    --color-text: #F8FFF0;
    --color-muted: #8A9183;
    --color-primary: #C7D9B7;
    --color-on-primary: #0C1108;
    --color-accent: #E1EFD3;
    --color-on-accent: #0C1108;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundfrom palette · color 5adjusted for contrast · from #C7D9B7
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #C7D9B7from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #C7D9B7from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #C7D9B7from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.73:1AAA pass 4.5:1
Text on surface7.15:1AAA pass 4.5:1
Muted text on background4.93:1AA pass 4.5:1
Label on primary6.15:1AA pass 4.5:1
Label on accent7.00:1AAA pass 4.5:1
Primary on background3.34:1AA Large pass 3:1
Accent on background6.85:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.70:1AAA pass 4.5:1
Text on surface17.13:1AAA pass 4.5:1
Muted text on background5.88:1AA pass 4.5:1
Label on primary12.77:1AAA pass 4.5:1
Label on accent15.91:1AAA pass 4.5:1
Primary on background12.77:1AAA pass 3:1
Accent on background15.91:1AAA 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.

Every color on every color
Background / Text#C7D9B7 (Text 1)#D5E5C7 (Text 2)#E1EFD3 (Text 3)#EDF7E3 (Text 4)#F8FFF0 (Text 5)
#C7D9B7Same color1.13—1.25—1.35—1.46—
#D5E5C71.13—Same color1.10—1.20—1.30—
#E1EFD31.25—1.10—Same color1.09—1.18—
#EDF7E31.35—1.20—1.09—Same color1.08—
#F8FFF01.46—1.30—1.18—1.08—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#C7D9B7#D5E5C7#E1EFD3#EDF7E3#F8FFF0

Variations

About Pistachio Milk

Pistachio Milk brings together a light green, two pale greens and two off-whites (#C7D9B7, #D5E5C7, #E1EFD3, #EDF7E3, #F8FFF0) in a balanced, green-led scheme. All hues sit within 1° of each other, so light green #C7D9B7 and its relatives form a cohesive monochromatic scheme. From #C7D9B7 to #F8FFF0 the colors share a similar light value (lightness 86%–99%), which suits fills and illustration more than body text. Average chroma is 0.037, low for a palette, so the colors feel soft and muted; the most saturated color is #C7D9B7. In light mode #F8FFF0 becomes the background with #475639 text at 7.7:1, and #809071 takes the primary role. With #C7D9B7 leading, good fits include typography-led layouts, icons and logos and lifestyle blogs.

Pistachio Milk color palette: #C7D9B7, #D5E5C7, #E1EFD3, #EDF7E3, #F8FFF0
Share image for Pistachio Milk

Gradients in similar colors