Export

Code

/* Oyster White — colorset.net */
:root {
  --color-1: #E5E4E2;
  --color-2: #F0EAD6;
  --color-3: #F5F5DC;
  --color-4: #FAF0E6;
  --color-5: #FFF8DC;

  --color-bg: #FFF8DC;
  --color-surface: #F6EFD3;
  --color-border: #DDD6B9;
  --color-text: #504F4E;
  --color-muted: #6C6B6A;
  --color-primary: #8E8876;
  --color-on-primary: #000000;
  --color-accent: #5C5749;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #100F0F;
    --color-surface: #1A1919;
    --color-border: #2F2E2A;
    --color-text: #FFF8DC;
    --color-muted: #928C72;
    --color-primary: #F0EAD6;
    --color-on-primary: #100F0F;
    --color-accent: #B8B3A3;
    --color-on-accent: #100F0F;
  }
}

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 #E5E4E2
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #E5E4E2from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #E5E4E2from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #E5E4E2adjusted for contrast · from #E5E4E2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.67:1AAA pass 4.5:1
Text on surface7.09:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary5.93:1AA pass 4.5:1
Label on accent7.21:1AAA pass 4.5:1
Primary on background3.32:1AA Large pass 3:1
Accent on background6.76:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.97:1AAA pass 4.5:1
Text on surface16.47:1AAA pass 4.5:1
Muted text on background5.67:1AA pass 4.5:1
Label on primary15.90:1AAA pass 4.5:1
Label on accent9.13:1AAA pass 4.5:1
Primary on background15.90:1AAA pass 3:1
Accent on background9.13: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#E5E4E2 (Text 1)#F0EAD6 (Text 2)#F5F5DC (Text 3)#FAF0E6 (Text 4)#FFF8DC (Text 5)
#E5E4E2Same color1.06—1.15—1.13—1.19—
#F0EAD61.06—Same color1.09—1.07—1.13—
#F5F5DC1.15—1.09—Same color1.02—1.04—
#FAF0E61.13—1.07—1.02—Same color1.06—
#FFF8DC1.19—1.13—1.04—1.06—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#E5E4E2#F0EAD6#F5F5DC#FAF0E6#FFF8DC

Variations

About Oyster White

Oyster White is a balanced neutral palette of 5 colors that runs from off-white #FFF8DC to light gray #E5E4E2. Everything except off-white #FFF8DC is close to neutral, which leaves that one color to carry the brand. All five colors stay in a narrow light band (92% to 98% lightness, #E5E4E2 to #FFF8DC), so text and background roles are adjusted for contrast. Saturation is very low (mean OKLCH chroma 0.023, peaking at 0.037 in #FFF8DC); the palette is close to grayscale. In light mode #FFF8DC becomes the background with #504F4E text at 7.7:1, and #8E8876 takes the primary role. Try it for documentation, e-commerce product pages and clean landing pages, letting cream #F0EAD6 carry the key actions.

Oyster White color palette: #E5E4E2, #F0EAD6, #F5F5DC, #FAF0E6, #FFF8DC
Share image for Oyster White

Gradients in similar colors