#F2DB9D

Closest named color: Vanilla (#E9D8A6). oklch(89.6% 0.083 90), rgb(242, 219, 157).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (90%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text15.39:1
White text1.36:1

Values

HEX#F2DB9D
RGBrgb(242, 219, 157)
HSLhsl(44, 77%, 78%)
OKLCHoklch(89.6% 0.083 90)

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 #F2DB9D 1.36:1 Fails Lc -20.4 Dividers and decoration only
Black text on #F2DB9D 15.39:1 AAA Lc 85.9 Fine for body text
#F2DB9D text on white 1.36:1 Fails Lc 17.8 Dividers and decoration only
#F2DB9D text on black 15.39:1 AAA Lc -85.8 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

    #F2E9D3

    oklch(93.5% 0.031 88.4)

  3. Step 200

    200 (this color)

    #F2DB9D

    oklch(89.6% 0.083 90)

  4. Step 300

    300

    #DBBE6C

    oklch(80.9% 0.107 90.4)

  5. Step 400

    400

    #C39B00

    oklch(70.6% 0.144 90.2)

  6. Step 500

    500

    #A88500

    oklch(63.2% 0.129 90)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  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

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#F2DB9D 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)#E9D9990.015
Deuteranopia (no green cones)#EEDF9F0.011
Tritanopia (no blue cones)#FFD1CB0.076
Achromatopsia (no color)#DDDDDD0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2DB9D

    #F2DB9D

    oklch(89.6% 0.083 90)

  • #D0DCFF

    #D0DCFF

    oklch(89.7% 0.05 270.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2DB9D

    #F2DB9D

    oklch(89.6% 0.083 90)

  • #FFD3B0

    #FFD3B0

    oklch(89.6% 0.068 60.3)

  • #D5E5A7

    #D5E5A7

    oklch(89.5% 0.083 119.9)

Open the analogous palette in the generator

Split complementary

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

  • #F2DB9D

    #F2DB9D

    oklch(89.6% 0.083 90)

  • #BCE3FF

    #BCE3FF

    oklch(89.7% 0.056 239.5)

  • #E2D5FF

    #E2D5FF

    oklch(89.7% 0.058 299.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2DB9D

    #F2DB9D

    oklch(89.6% 0.083 90)

  • #99ECFB

    #99ECFB

    oklch(89.5% 0.083 210.2)

  • #FDC9F7

    #FDC9F7

    oklch(89.5% 0.084 330.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2DB9D

    #F2DB9D

    oklch(89.6% 0.083 90)

  • #9EEFDF

    #9EEFDF

    oklch(89.5% 0.082 180.5)

  • #D0DCFF

    #D0DCFF

    oklch(89.7% 0.05 270.4)

  • #FFCDDB

    #FFCDDB

    oklch(89.6% 0.059 359.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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