Custard #FFFD78

Custard is a very light, vivid yellow with hex code #FFFD78 and RGB rgb(255, 253, 120).

Aa

Black text reads best on this color (19.57:1).

About this color

#FFFD78 is a very light, vivid yellow. In OKLCH its lightness is 97%, its chroma 0.154 and its hue 108°. Its hue sits on the warm side of the wheel. It is the named color Custard. Black text reads best on it, at 19.57:1.

Hue familyYellows
Lightnessvery light (97%)
Chromavivid (0.154)
Temperaturewarm
Nearest nameCustard
Black text19.57:1
White text1.07:1

Colors that go with Custard

Matches found by rotating Custard around the OKLCH hue wheel, each labelled with the closest name in our list.

Color palettes with Custard

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Custard, closest first.

Similar named colors

The eight named colors closest to Custard, with their ΔE distance.

More about Custard

How to make Custard

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 2 parts white
  • 1 part yellow

Recipe result: #FEF07D, a difference of ΔE 0.036 from Custard. That is close; add a little more of one paint to match.

What colors make yellow? | Color mixing chart

Codes for Custard in every format

HEX#FFFD78
RGBrgb(255, 253, 120)
HSLhsl(59, 100%, 74%)
OKLCHoklch(97% 0.154 108.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #FFFD78 1.07:1 Fails Lc 0.0 Not readable
Black text on #FFFD78 19.57:1 AAA Lc 101.3 Preferred for body text
#FFFD78 text on white 1.07:1 Fails Lc 0.0 Not readable
#FFFD78 text on black 19.57:1 AAA Lc -102.6 Preferred for body text

Shades and tints of Custard

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 50.

  1. Step 50

    50 (this color)

    #FFFD78

    oklch(97% 0.154 108.2)

  2. Step 100

    100

    #EDEDC1

    oklch(93.5% 0.057 107.5)

  3. Step 200

    200

    #E0DF87

    oklch(88.5% 0.11 107.9)

  4. Step 300

    300

    #CCC800

    oklch(81% 0.175 108.3)

  5. Step 400

    400

    #AAA700

    oklch(70.8% 0.153 108.5)

  6. Step 500

    500

    #928F00

    oklch(63.2% 0.136 108.3)

  7. Step 600

    600

    #7A7800

    oklch(55.6% 0.12 108.6)

  8. Step 700

    700

    #676400

    oklch(49% 0.105 107.7)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

Custard with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#FFF46B0.022
Deuteranopia (no green cones)#FFF97F0.014
Tritanopia (no blue cones)#FFEFDF0.135
Achromatopsia (no color)#F7F7F70.155

Use Custard in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.