Export

Code

/* Foam White — colorset.net */
:root {
  --color-1: #F0FFFF;
  --color-2: #E0FEFE;
  --color-3: #D0FDFD;
  --color-4: #C0FCFC;
  --color-5: #B0FBFB;

  --color-bg: #F0FFFF;
  --color-surface: #E7F6F6;
  --color-border: #CBDEDE;
  --color-text: #005C5D;
  --color-muted: #517575;
  --color-primary: #4D9797;
  --color-on-primary: #000000;
  --color-accent: #256363;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #001314;
    --color-surface: #061E1E;
    --color-border: #173333;
    --color-text: #F0FFFF;
    --color-muted: #839191;
    --color-primary: #B0FBFB;
    --color-on-primary: #001314;
    --color-accent: #84C1C1;
    --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 #B0FBFB
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #B0FBFBfrom palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #B0FBFBfrom palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #B0FBFBadjusted for contrast · from #B0FBFB
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.61:1AAA pass 4.5:1
Text on surface7.03:1AAA pass 4.5:1
Muted text on background4.93:1AA pass 4.5:1
Label on primary6.19:1AA pass 4.5:1
Label on accent6.90:1AA pass 4.5:1
Primary on background3.30:1AA Large pass 3:1
Accent on background6.72:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.54:1AAA pass 4.5:1
Text on surface16.87:1AAA pass 4.5:1
Muted text on background5.82:1AA pass 4.5:1
Label on primary16.35:1AAA pass 4.5:1
Label on accent9.41:1AAA pass 4.5:1
Primary on background16.35:1AAA pass 3:1
Accent on background9.41: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#F0FFFF (Text 1)#E0FEFE (Text 2)#D0FDFD (Text 3)#C0FCFC (Text 4)#B0FBFB (Text 5)
#F0FFFFSame color1.03—1.07—1.10—1.13—
#E0FEFE1.03—Same color1.03—1.06—1.10—
#D0FDFD1.07—1.03—Same color1.03—1.06—
#C0FCFC1.10—1.06—1.03—Same color1.03—
#B0FBFB1.13—1.10—1.06—1.03—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F0FFFF#E0FEFE#D0FDFD#C0FCFC#B0FBFB

Variations

About Foam White

Foam White is a cool teal palette of 5 colors that runs from off-white #F0FFFF to pale teal #B0FBFB. With a hue spread of just 0°, it is effectively monochromatic: #D0FDFD, #C0FCFC and #B0FBFB differ mostly in lightness. All five colors stay in a narrow light band (94% to 99% lightness, #B0FBFB to #F0FFFF), so text and background roles are adjusted for contrast. Saturation is low (mean OKLCH chroma 0.045, peaking at 0.074 in #B0FBFB); the colors feel soft and muted. In light mode #F0FFFF becomes the background with #005C5D text at 7.6:1, and #4D9797 takes the primary role. With #B0FBFB leading, good fits include healthcare products, travel sites and productivity tools.

Foam White color palette: #F0FFFF, #E0FEFE, #D0FDFD, #C0FCFC, #B0FBFB
Share image for Foam White

Gradients in similar colors