#F9F8E1

Closest named color: Cornsilk (#FFF8DC). oklch(97.4% 0.03 104.9), rgb(249, 248, 225).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (97%)
Chromamuted (0.030)
Temperaturewarm
Nearest nameCornsilk (#FFF8DC)
Black text19.54:1
White text1.07:1

Values

HEX#F9F8E1
RGBrgb(249, 248, 225)
HSLhsl(58, 67%, 93%)
OKLCHoklch(97.4% 0.03 104.9)

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

    #F9F8E1

    oklch(97.4% 0.03 104.9)

  2. Step 100

    100

    #EBEAE2

    oklch(93.6% 0.011 100.8)

  3. Step 200

    200

    #DBDACA

    oklch(88.5% 0.022 103.9)

  4. Step 300

    300

    #C4C2A6

    oklch(80.8% 0.038 103.9)

  5. Step 400

    400

    #A6A376

    oklch(70.7% 0.062 104.7)

  6. Step 500

    500

    #908C52

    oklch(63% 0.079 105)

  7. Step 600

    600

    #7B7636

    oklch(55.6% 0.086 104.8)

  8. Step 700

    700

    #686328

    oklch(49.1% 0.08 104.5)

  9. Step 800

    800

    #545122

    oklch(42.7% 0.067 105.6)

  10. Step 900

    900

    #464321

    oklch(37.7% 0.052 104.1)

  11. Step 950

    950

    #292714

    oklch(26.9% 0.032 103.1)

Export this scale for Tailwind in the Tailwind colors tool

#F9F8E1 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)#FDF6E00.007
Deuteranopia (no green cones)#FDF7E20.006
Tritanopia (no blue cones)#FDF5F10.026
Achromatopsia (no color)#F7F7F70.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #F9F8E1

    #F9F8E1

    oklch(97.4% 0.03 104.9)

  • #F5F5FF

    #F5F5FF

    oklch(97.3% 0.013 286.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F9F8E1

    #F9F8E1

    oklch(97.4% 0.03 104.9)

  • #FFF5E7

    #FFF5E7

    oklch(97.4% 0.021 76.5)

  • #EEFBE7

    #EEFBE7

    oklch(97.3% 0.03 134.4)

Open the analogous palette in the generator

Split complementary

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

  • #F9F8E1

    #F9F8E1

    oklch(97.4% 0.03 104.9)

  • #F1F7FF

    #F1F7FF

    oklch(97.4% 0.012 255.5)

  • #FBF3FF

    #FBF3FF

    oklch(97.4% 0.018 314.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F9F8E1

    #F9F8E1

    oklch(97.4% 0.03 104.9)

  • #EBF9FF

    #EBF9FF

    oklch(97.3% 0.017 225.2)

  • #FFF2F9

    #FFF2F9

    oklch(97.3% 0.017 343.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F9F8E1

    #F9F8E1

    oklch(97.4% 0.03 104.9)

  • #E0FDFD

    #E0FDFD

    oklch(97.3% 0.03 196.7)

  • #F5F5FF

    #F5F5FF

    oklch(97.3% 0.013 286.2)

  • #FFF3F4

    #FFF3F4

    oklch(97.4% 0.013 11.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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