#F9F8E2

Closest named color: Cornsilk (#FFF8DC). oklch(97.4% 0.029 104.8), rgb(249, 248, 226).

Aa

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

About this color

#F9F8E2 is a very light close to neutral grey. In OKLCH its lightness is 97%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Cornsilk (#FFF8DC), ΔE 0.010 away. Black text reads best on it, at 19.55:1.

Hue familyNeutrals
Lightnessvery light (97%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameCornsilk (#FFF8DC)
Black text19.55:1
White text1.07:1

Values

HEX#F9F8E2
RGBrgb(249, 248, 226)
HSLhsl(57, 66%, 93%)
OKLCHoklch(97.4% 0.029 104.8)

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

    #F9F8E2

    oklch(97.4% 0.029 104.8)

  2. Step 100

    100

    #EBEAE2

    oklch(93.6% 0.011 100.8)

  3. Step 200

    200

    #DBDACB

    oklch(88.5% 0.02 103.7)

  4. Step 300

    300

    #C4C2A7

    oklch(80.8% 0.037 103.7)

  5. Step 400

    400

    #A6A378

    oklch(70.7% 0.059 104.5)

  6. Step 500

    500

    #908C55

    oklch(63% 0.075 104.7)

  7. Step 600

    600

    #7B7639

    oklch(55.7% 0.083 104.5)

  8. Step 700

    700

    #67632B

    oklch(49.1% 0.077 105.1)

  9. Step 800

    800

    #545125

    oklch(42.7% 0.064 105.3)

  10. Step 900

    900

    #454323

    oklch(37.6% 0.049 105.4)

  11. Step 950

    950

    #292715

    oklch(27% 0.031 102.8)

Export this scale for Tailwind in the Tailwind colors tool

#F9F8E2 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)#FCF6E10.006
Deuteranopia (no green cones)#FDF7E30.006
Tritanopia (no blue cones)#FDF5F20.026
Achromatopsia (no color)#F7F7F70.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #F9F8E2

    #F9F8E2

    oklch(97.4% 0.029 104.8)

  • #F5F5FF

    #F5F5FF

    oklch(97.3% 0.013 286.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F9F8E2

    #F9F8E2

    oklch(97.4% 0.029 104.8)

  • #FFF5E8

    #FFF5E8

    oklch(97.4% 0.02 74.7)

  • #EEFBE8

    #EEFBE8

    oklch(97.3% 0.029 135.6)

Open the analogous palette in the generator

Split complementary

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

  • #F9F8E2

    #F9F8E2

    oklch(97.4% 0.029 104.8)

  • #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.

  • #F9F8E2

    #F9F8E2

    oklch(97.4% 0.029 104.8)

  • #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.

  • #F9F8E2

    #F9F8E2

    oklch(97.4% 0.029 104.8)

  • #E1FDFC

    #E1FDFC

    oklch(97.4% 0.029 194.1)

  • #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 #F9F8E2, closest first.

Similar named colors

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

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