Export

Code

/* Vanilla Custard — colorset.net */
:root {
  --color-1: #FAF0E6;
  --color-2: #F5F5DC;
  --color-3: #FFFACD;
  --color-4: #F0E68C;
  --color-5: #EEE8AA;

  --color-bg: #F9F7EA;
  --color-surface: #EFEEE1;
  --color-border: #D7D6C5;
  --color-text: #574F00;
  --color-muted: #6E6C51;
  --color-primary: #827814;
  --color-on-primary: #FFFFFF;
  --color-accent: #90877E;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121000;
    --color-surface: #1C1A06;
    --color-border: #312F16;
    --color-text: #FEFAD3;
    --color-muted: #908D71;
    --color-primary: #F0E68C;
    --color-on-primary: #121000;
    --color-accent: #B7AF65;
    --color-on-accent: #121000;
  }
}

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
Backgroundadjusted for contrast · from #FAF0E6adjusted for contrast · from #F0E68C
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #F0E68Cadjusted for contrast · from #FFFACD
Muted textderivedderived
Primaryadjusted for contrast · from #F0E68Cfrom palette · color 4
On primaryderivedderived
Accentadjusted for contrast · from #EEE8AAadjusted for contrast · from #F0E68C
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.73:1AAA pass 4.5:1
Text on surface7.13:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary4.52:1AA pass 4.5:1
Label on accent5.95:1AA pass 4.5:1
Primary on background4.20:1AA Large pass 3:1
Accent on background3.28:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.03:1AAA pass 4.5:1
Text on surface16.53:1AAA pass 4.5:1
Muted text on background5.67:1AA pass 4.5:1
Label on primary14.91:1AAA pass 4.5:1
Label on accent8.49:1AAA pass 4.5:1
Primary on background14.91:1AAA pass 3:1
Accent on background8.49: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#FAF0E6 (Text 1)#F5F5DC (Text 2)#FFFACD (Text 3)#F0E68C (Text 4)#EEE8AA (Text 5)
#FAF0E6Same color1.02—1.06—1.14—1.11—
#F5F5DC1.02—Same color1.04—1.16—1.13—
#FFFACD1.06—1.04—Same color1.21—1.18—
#F0E68C1.14—1.16—1.21—Same color1.02—
#EEE8AA1.11—1.13—1.18—1.02—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FAF0E6#F5F5DC#FFFACD#F0E68C#EEE8AA

Variations

About Vanilla Custard

Vanilla Custard is a warm yellow palette of 5 colors that runs from off-white #FFFACD to pale yellow #F0E68C. With a hue spread of just 1°, it is effectively monochromatic: #FFFACD, #F0E68C and #EEE8AA differ mostly in lightness. All five colors stay in a narrow light band (91% to 98% lightness, #F0E68C to #FFFACD), so text and background roles are adjusted for contrast. Saturation is low (mean OKLCH chroma 0.060, peaking at 0.112 in #F0E68C); the colors feel soft and muted. As a UI theme it uses #827814 for primary actions and #90877E as the accent; dark mode sits on #121000 with #FEFAD3 text (18.0:1). With #F0E68C leading, good fits include children’s products, summer promotions and cheerful landing pages.

These colors are almost the same as Cream Light.

Vanilla Custard color palette: #FAF0E6, #F5F5DC, #FFFACD, #F0E68C, #EEE8AA
Share image for Vanilla Custard

Gradients in similar colors