#FEF9C2

Closest named color: Egg Shell (#FFFCC4). oklch(97.3% 0.071 103.3), rgb(254, 249, 194).

Aa

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

About this color

#FEF9C2 is a very light, moderately saturated yellow. In OKLCH its lightness is 97%, its chroma 0.071 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Egg Shell (#FFFCC4), ΔE 0.008 away. Black text reads best on it, at 19.54:1.

Hue familyYellows
Lightnessvery light (97%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameEgg Shell (#FFFCC4)
Black text19.54:1
White text1.07:1

Values

HEX#FEF9C2
RGBrgb(254, 249, 194)
HSLhsl(55, 97%, 88%)
OKLCHoklch(97.3% 0.071 103.3)

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 #FEF9C2 1.07:1 Fails Lc 0.0 Not readable
Black text on #FEF9C2 19.54:1 AAA Lc 101.1 Preferred for body text
#FEF9C2 text on white 1.07:1 Fails Lc 0.0 Not readable
#FEF9C2 text on black 19.54:1 AAA Lc -102.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)

    #FEF9C2

    oklch(97.3% 0.071 103.3)

  2. Step 100

    100

    #EDEBD7

    oklch(93.6% 0.027 102.2)

  3. Step 200

    200

    #DFDBB5

    oklch(88.5% 0.05 102.4)

  4. Step 300

    300

    #CBC47E

    oklch(81% 0.091 103.3)

  5. Step 400

    400

    #B1A412

    oklch(70.8% 0.146 103.6)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807500

    oklch(55.5% 0.117 103)

  8. Step 700

    700

    #6C6300

    oklch(49.3% 0.104 103.3)

  9. Step 800

    800

    #585000

    oklch(42.6% 0.089 102.9)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#FEF9C2 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)#FFF5BF0.010
Deuteranopia (no green cones)#FFF8C40.004
Tritanopia (no blue cones)#FFF1EA0.062
Achromatopsia (no color)#F7F7F70.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #FEF9C2

    #FEF9C2

    oklch(97.3% 0.071 103.3)

  • #F4F5FF

    #F4F5FF

    oklch(97.2% 0.013 281.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FEF9C2

    #FEF9C2

    oklch(97.3% 0.071 103.3)

  • #FFF4E7

    #FFF4E7

    oklch(97.2% 0.021 72.2)

  • #E7FFD8

    #E7FFD8

    oklch(97.2% 0.057 133.4)

Open the analogous palette in the generator

Split complementary

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

  • #FEF9C2

    #FEF9C2

    oklch(97.3% 0.071 103.3)

  • #F0F7FF

    #F0F7FF

    oklch(97.3% 0.013 251.6)

  • #FAF3FF

    #FAF3FF

    oklch(97.3% 0.017 311.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FEF9C2

    #FEF9C2

    oklch(97.3% 0.071 103.3)

  • #EAF9FF

    #EAF9FF

    oklch(97.3% 0.018 223.6)

  • #FFF2F9

    #FFF2F9

    oklch(97.3% 0.017 343.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FEF9C2

    #FEF9C2

    oklch(97.3% 0.071 103.3)

  • #D9FFFD

    #D9FFFD

    oklch(97.3% 0.039 192.6)

  • #F4F5FF

    #F4F5FF

    oklch(97.2% 0.013 281.6)

  • #FFF3F3

    #FFF3F3

    oklch(97.4% 0.013 17.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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