Export

Code

/* Milk Glass — colorset.net */
:root {
  --color-1: #F4FAFA;
  --color-2: #E4F2F2;
  --color-3: #CBE8E7;
  --color-4: #B9DFC9;
  --color-5: #196467;

  --color-bg: #F4FAFA;
  --color-surface: #EBF1F1;
  --color-border: #CFD9D9;
  --color-text: #05595C;
  --color-muted: #4F7273;
  --color-primary: #196467;
  --color-on-primary: #FFFFFF;
  --color-accent: #6C907C;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #001314;
    --color-surface: #071D1E;
    --color-border: #183334;
    --color-text: #F4FAFA;
    --color-muted: #888D8D;
    --color-primary: #287073;
    --color-on-primary: #FFFFFF;
    --color-accent: #B9DFC9;
    --color-on-accent: #001314;
  }
}

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 1adjusted for contrast · from #196467
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #196467from palette · color 1
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #196467
On primaryderivedderived
Accentadjusted for contrast · from #196467from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.68:1AAA pass 4.5:1
Text on surface7.10:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary6.86:1AA pass 4.5:1
Label on accent5.92:1AA pass 4.5:1
Primary on background6.50:1AA pass 3:1
Accent on background3.36:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.04:1AAA pass 4.5:1
Text on surface16.54:1AAA pass 4.5:1
Muted text on background5.66:1AA pass 4.5:1
Label on primary5.74:1AA pass 4.5:1
Label on accent13.11:1AAA pass 4.5:1
Primary on background3.31:1AA Large pass 3:1
Accent on background13.11: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#F4FAFA (Text 1)#E4F2F2 (Text 2)#CBE8E7 (Text 3)#B9DFC9 (Text 4)#196467 (Text 5)
#F4FAFASame color1.09—1.23—1.38—6.50AA
#E4F2F21.09—Same color1.13—1.26—5.97AA
#CBE8E71.23—1.13—Same color1.12—5.31AA
#B9DFC91.38—1.26—1.12—Same color4.73AA
#1964676.50AA5.97AA5.31AA4.73AASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F4FAFA#E4F2F2#CBE8E7#B9DFC9#196467

Variations

About Milk Glass

Cool, glassy whites with a mint tint. Milk Glass is a balanced multi-color palette of 5 colors that runs from white #F4FAFA to teal #196467. The 2 chromatic colors span 39° of hue, close enough for light green and teal to read as one family. Lightness spans 46% (#196467) to 98% (#F4FAFA), a moderate range; text roles may need slight darkening for full contrast. Saturation is very low (mean OKLCH chroma 0.034, peaking at 0.070 in #196467); the palette is close to grayscale. In light mode #F4FAFA becomes the background with #05595C text at 7.7:1, and #196467 takes the primary role. With #196467 leading, good fits include marketing pages, brand systems with many sub-brands and illustration.

Milk Glass color palette: #F4FAFA, #E4F2F2, #CBE8E7, #B9DFC9, #196467
Share image for Milk Glass

Gradients in similar colors