#FEF5D9

Closest named color: Cornsilk (#FFF8DC). oklch(97% 0.038 92.2), rgb(254, 245, 217).

Aa

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

About this color

#FEF5D9 is a very light, muted yellow. In OKLCH its lightness is 97%, its chroma 0.038 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Cornsilk (#FFF8DC), ΔE 0.008 away. Black text reads best on it, at 19.27:1.

Hue familyYellows
Lightnessvery light (97%)
Chromamuted (0.038)
Temperaturewarm
Nearest nameCornsilk (#FFF8DC)
Black text19.27:1
White text1.08:1

Values

HEX#FEF5D9
RGBrgb(254, 245, 217)
HSLhsl(45, 95%, 92%)
OKLCHoklch(97% 0.038 92.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 #FEF5D9 1.08:1 Fails Lc 0.0 Not readable
Black text on #FEF5D9 19.27:1 AAA Lc 100.1 Preferred for body text
#FEF5D9 text on white 1.08:1 Fails Lc 0.0 Not readable
#FEF5D9 text on black 19.27:1 AAA Lc -101.4 Preferred for body text

Tints and shades

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)

    #FEF5D9

    oklch(97% 0.038 92.2)

  2. Step 100

    100

    #EDEAE0

    oklch(93.7% 0.014 93)

  3. Step 200

    200

    #DFD9C6

    oklch(88.5% 0.026 92.4)

  4. Step 300

    300

    #CCC09D

    oklch(80.9% 0.049 91.4)

  5. Step 400

    400

    #B2A067

    oklch(70.8% 0.079 92.6)

  6. Step 500

    500

    #9F873C

    oklch(63% 0.099 91.6)

  7. Step 600

    600

    #8A7112

    oklch(55.7% 0.108 92.5)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #5F4D09

    oklch(42.7% 0.083 92.4)

  10. Step 900

    900

    #4E4013

    oklch(37.7% 0.064 91.5)

  11. Step 950

    950

    #2E260D

    oklch(27.1% 0.041 91.7)

Export this scale for Tailwind in the Tailwind colors tool

#FEF5D9 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)#FCF3D70.006
Deuteranopia (no green cones)#FEF6DA0.002
Tritanopia (no blue cones)#FFF0ED0.033
Achromatopsia (no color)#F5F5F50.038

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #FEF5D9

    #FEF5D9

    oklch(97% 0.038 92.2)

  • #F2F5FF

    #F2F5FF

    oklch(97.1% 0.014 272.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FEF5D9

    #FEF5D9

    oklch(97% 0.038 92.2)

  • #FFF3E8

    #FFF3E8

    oklch(97.1% 0.02 65.1)

  • #F0FADE

    #F0FADE

    oklch(97% 0.038 123.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #FEF5D9

    #FEF5D9

    oklch(97% 0.038 92.2)

  • #ECF7FF

    #ECF7FF

    oklch(97% 0.016 239.1)

  • #F7F3FF

    #F7F3FF

    oklch(97.1% 0.016 301.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FEF5D9

    #FEF5D9

    oklch(97% 0.038 92.2)

  • #E3FAFF

    #E3FAFF

    oklch(97% 0.025 212.2)

  • #FFF0FC

    #FFF0FC

    oklch(97% 0.022 332.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FEF5D9

    #FEF5D9

    oklch(97% 0.038 92.2)

  • #DAFEF7

    #DAFEF7

    oklch(97% 0.038 182.5)

  • #F2F5FF

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  • #FFF1F4

    #FFF1F4

    oklch(97% 0.016 2.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #FEF5D9, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #FEF5D9 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.