Export

Code

/* Vanilla White — colorset.net */
:root {
  --color-1: #FFFFEB;
  --color-2: #FFFFED;
  --color-3: #FFFFEF;
  --color-4: #FFFFF1;
  --color-5: #FFFFF3;

  --color-bg: #FFFFF3;
  --color-surface: #F6F6EA;
  --color-border: #DDDDCE;
  --color-text: #525242;
  --color-muted: #70705F;
  --color-primary: #8F8F7D;
  --color-on-primary: #000000;
  --color-accent: #5D5D4F;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #10100B;
    --color-surface: #1A1A14;
    --color-border: #2F2E26;
    --color-text: #FFFFF3;
    --color-muted: #909085;
    --color-primary: #FFFFEB;
    --color-on-primary: #10100B;
    --color-accent: #C7C7B7;
    --color-on-accent: #10100B;
  }
}

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 #FFFFEB
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FFFFEBfrom palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #FFFFEBfrom palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #FFFFEBadjusted for contrast · from #FFFFEB
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.88:1AAA pass 4.5:1
Text on surface7.29:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary6.39:1AA pass 4.5:1
Label on accent6.68:1AA pass 4.5:1
Primary on background3.26:1AA Large pass 3:1
Accent on background6.63:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.94:1AAA pass 4.5:1
Text on surface17.35:1AAA pass 4.5:1
Muted text on background5.92:1AA pass 4.5:1
Label on primary18.85:1AAA pass 4.5:1
Label on accent11.16:1AAA pass 4.5:1
Primary on background18.85:1AAA pass 3:1
Accent on background11.16: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#FFFFEB (Text 1)#FFFFED (Text 2)#FFFFEF (Text 3)#FFFFF1 (Text 4)#FFFFF3 (Text 5)
#FFFFEBSame color1.00—1.00—1.00—1.00—
#FFFFED1.00—Same color1.00—1.00—1.00—
#FFFFEF1.00—1.00—Same color1.00—1.00—
#FFFFF11.00—1.00—1.00—Same color1.00—
#FFFFF31.00—1.00—1.00—1.00—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFFFEB#FFFFED#FFFFEF#FFFFF1#FFFFF3

Variations

About Vanilla White

Vanilla White is a balanced neutral palette of 5 colors that runs from off-white #FFFFF3 to off-white #FFFFEB. There is no real hue here; neutrals between #FFFFEB and #FFFFF3 do all the work with value contrast. All five colors stay in a narrow light band (99% to 100% lightness, #FFFFEB to #FFFFF3), so text and background roles are adjusted for contrast. Saturation is very low (mean OKLCH chroma 0.021, peaking at 0.026 in #FFFFEB); the palette is close to grayscale. As a UI theme it uses #8F8F7D for primary actions and #5D5D4F as the accent; dark mode sits on #10100B with #FFFFF3 text (18.9:1). Try it for documentation sites, architecture studios and icons and logos, letting off-white #FFFFEB carry the key actions.

These colors are almost the same as Eggshell Ivory.

Vanilla White color palette: #FFFFEB, #FFFFED, #FFFFEF, #FFFFF1, #FFFFF3
Share image for Vanilla White

Gradients in similar colors