Export

Code

/* Custard Yellow — colorset.net */
:root {
  --color-1: #FFDB58;
  --color-2: #FFE06C;
  --color-3: #FFE580;
  --color-4: #FFEA94;
  --color-5: #FFEFA8;

  --color-bg: #FAF7E8;
  --color-surface: #F1EEDF;
  --color-border: #D9D5C3;
  --color-text: #5F4E00;
  --color-muted: #736B51;
  --color-primary: #A38600;
  --color-on-primary: #000000;
  --color-accent: #897518;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #140F00;
    --color-surface: #1F1905;
    --color-border: #342D15;
    --color-text: #F7EFC9;
    --color-muted: #8D876C;
    --color-primary: #FFDB58;
    --color-on-primary: #140F00;
    --color-accent: #C2A538;
    --color-on-accent: #140F00;
  }
}

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 #FFEFA8adjusted for contrast · from #FFDB58
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FFDB58adjusted for contrast · from #FFEFA8
Muted textderivedderived
Primaryadjusted for contrast · from #FFDB58from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #FFDB58adjusted for contrast · from #FFDB58
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.58:1AAA pass 4.5:1
Text on surface7.00:1AAA pass 4.5:1
Muted text on background4.94:1AA pass 4.5:1
Label on primary5.97:1AA pass 4.5:1
Label on accent4.54:1AA pass 4.5:1
Primary on background3.27:1AA Large pass 3:1
Accent on background4.23:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.52:1AAA pass 4.5:1
Text on surface15.13:1AAA pass 4.5:1
Muted text on background5.30:1AA pass 4.5:1
Label on primary14.14:1AAA pass 4.5:1
Label on accent7.95:1AAA pass 4.5:1
Primary on background14.14:1AAA pass 3:1
Accent on background7.95: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#FFDB58 (Text 1)#FFE06C (Text 2)#FFE580 (Text 3)#FFEA94 (Text 4)#FFEFA8 (Text 5)
#FFDB58Same color1.04—1.08—1.12—1.17—
#FFE06C1.04—Same color1.04—1.08—1.13—
#FFE5801.08—1.04—Same color1.04—1.08—
#FFEA941.12—1.08—1.04—Same color1.04—
#FFEFA81.17—1.13—1.08—1.04—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFDB58#FFE06C#FFE580#FFEA94#FFEFA8

Variations

About Custard Yellow

Custard Yellow brings together five pale yellows (#FFDB58, #FFE06C, #FFE580, #FFEA94, #FFEFA8) in a warm, yellow-led scheme. All hues sit within 3° of each other, so pale yellow #FFDB58 and its relatives form a cohesive monochromatic scheme. From #FFDB58 to #FFEFA8 the colors share a similar light value (lightness 90%–95%), which suits fills and illustration more than body text. Average chroma is 0.123, medium for a palette, so the colors are clear without being loud; the most saturated color is #FFDB58. Text contrast reaches 7.6:1 in light mode and 16.5:1 in dark mode, with #A38600 as primary and #897518 as accent. With #FFDB58 leading, good fits include cheerful landing pages, focused single-product sites and signage.

These colors are almost the same as Dandelion Yellow.

Custard Yellow color palette: #FFDB58, #FFE06C, #FFE580, #FFEA94, #FFEFA8
Share image for Custard Yellow

Gradients in similar colors