#F0DB9F

Closest named color: Vanilla (#E9D8A6). oklch(89.5% 0.08 91), rgb(240, 219, 159).

Aa

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

About this color

#F0DB9F is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.080 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.017 away. Black text reads best on it, at 15.33:1.

Hue familyYellows
Lightnesslight (89%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text15.33:1
White text1.36:1

Values

HEX#F0DB9F
RGBrgb(240, 219, 159)
HSLhsl(44, 73%, 78%)
OKLCHoklch(89.5% 0.08 91)

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 #F0DB9F 1.36:1 Fails Lc -20.6 Dividers and decoration only
Black text on #F0DB9F 15.33:1 AAA Lc 85.7 Fine for body text
#F0DB9F text on white 1.36:1 Fails Lc 18.0 Dividers and decoration only
#F0DB9F text on black 15.33:1 AAA Lc -85.5 Fine 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 200.

  1. Step 50

    50

    #F9F5EB

    oklch(97.1% 0.014 88.7)

  2. Step 100

    100

    #F1EAD4

    oklch(93.7% 0.03 92.3)

  3. Step 200

    200 (this color)

    #F0DB9F

    oklch(89.5% 0.08 91)

  4. Step 300

    300

    #D9BE70

    oklch(80.8% 0.103 90.9)

  5. Step 400

    400

    #C29C00

    oklch(70.7% 0.145 91.2)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#F0DB9F 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)#E8D99B0.014
Deuteranopia (no green cones)#EDDFA10.010
Tritanopia (no blue cones)#FCD2CB0.072
Achromatopsia (no color)#DCDCDC0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0DB9F

    #F0DB9F

    oklch(89.5% 0.08 91)

  • #CFDBFF

    #CFDBFF

    oklch(89.4% 0.051 270.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0DB9F

    #F0DB9F

    oklch(89.5% 0.08 91)

  • #FFD2AE

    #FFD2AE

    oklch(89.4% 0.07 60.4)

  • #D4E5A9

    #D4E5A9

    oklch(89.4% 0.081 120.9)

Open the analogous palette in the generator

Split complementary

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

  • #F0DB9F

    #F0DB9F

    oklch(89.5% 0.08 91)

  • #BCE2FF

    #BCE2FF

    oklch(89.5% 0.057 241.2)

  • #E3D4FF

    #E3D4FF

    oklch(89.6% 0.06 301.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0DB9F

    #F0DB9F

    oklch(89.5% 0.08 91)

  • #9CEBFB

    #9CEBFB

    oklch(89.4% 0.08 211.8)

  • #FCC9F5

    #FCC9F5

    oklch(89.4% 0.081 330.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0DB9F

    #F0DB9F

    oklch(89.5% 0.08 91)

  • #9FEEDF

    #9FEEDF

    oklch(89.4% 0.08 181.1)

  • #CFDBFF

    #CFDBFF

    oklch(89.4% 0.051 270.8)

  • #FFCDDA

    #FFCDDA

    oklch(89.5% 0.059 1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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