#F0DEA2

Closest named color: Vanilla (#E9D8A6). oklch(90.1% 0.079 93.4), rgb(240, 222, 162).

Aa

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

About this color

#F0DEA2 is a very light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.079 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.021 away. Black text reads best on it, at 15.67:1.

Hue familyYellows
Lightnessvery light (90%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text15.67:1
White text1.33:1

Values

HEX#F0DEA2
RGBrgb(240, 222, 162)
HSLhsl(46, 72%, 79%)
OKLCHoklch(90.1% 0.079 93.4)

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 #F0DEA2 1.33:1 Fails Lc -19.1 Dividers and decoration only
Black text on #F0DEA2 15.67:1 AAA Lc 87.0 Fine for body text
#F0DEA2 text on white 1.33:1 Fails Lc 16.7 Dividers and decoration only
#F0DEA2 text on black 15.67:1 AAA Lc -87.0 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

    #F8F5EB

    oklch(97% 0.014 93)

  2. Step 100

    100

    #F0EAD4

    oklch(93.6% 0.03 94.4)

  3. Step 200

    200 (this color)

    #F0DEA2

    oklch(90.1% 0.079 93.4)

  4. Step 300

    300

    #D7BF71

    oklch(80.8% 0.102 92.8)

  5. Step 400

    400

    #BF9D00

    oklch(70.6% 0.145 93.3)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#F0DEA2 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)#EBDB9E0.011
Deuteranopia (no green cones)#EFE1A40.007
Tritanopia (no blue cones)#FCD5CE0.072
Achromatopsia (no color)#DEDEDE0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0DEA2

    #F0DEA2

    oklch(90.1% 0.079 93.4)

  • #D4DDFF

    #D4DDFF

    oklch(90.1% 0.048 273.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0DEA2

    #F0DEA2

    oklch(90.1% 0.079 93.4)

  • #FFD6B1

    #FFD6B1

    oklch(90.2% 0.067 63.9)

  • #D4E8AE

    #D4E8AE

    oklch(90.2% 0.079 123.4)

Open the analogous palette in the generator

Split complementary

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

  • #F0DEA2

    #F0DEA2

    oklch(90.1% 0.079 93.4)

  • #C2E3FF

    #C2E3FF

    oklch(90.1% 0.052 244)

  • #E6D6FF

    #E6D6FF

    oklch(90.2% 0.058 303)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0DEA2

    #F0DEA2

    oklch(90.1% 0.079 93.4)

  • #9FEDFE

    #9FEDFE

    oklch(90.1% 0.08 212.9)

  • #FFCCF5

    #FFCCF5

    oklch(90.2% 0.078 333.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0DEA2

    #F0DEA2

    oklch(90.1% 0.079 93.4)

  • #A1F0E4

    #A1F0E4

    oklch(90.1% 0.079 184)

  • #D4DDFF

    #D4DDFF

    oklch(90.1% 0.048 273.7)

  • #FFD0DA

    #FFD0DA

    oklch(90.1% 0.054 3.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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