#F0DFAB

Closest named color: Wheat (#F5DEB3). oklch(90.5% 0.07 92.1), rgb(240, 223, 171).

Aa

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

About this color

#F0DFAB is a very light, muted yellow. In OKLCH its lightness is 90%, its chroma 0.070 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Wheat (#F5DEB3), ΔE 0.014 away. Black text reads best on it, at 15.84:1.

Hue familyYellows
Lightnessvery light (90%)
Chromamuted (0.070)
Temperaturewarm
Nearest nameWheat (#F5DEB3)
Black text15.84:1
White text1.32:1

Values

HEX#F0DFAB
RGBrgb(240, 223, 171)
HSLhsl(45, 70%, 81%)
OKLCHoklch(90.5% 0.07 92.1)

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 #F0DFAB 1.32:1 Fails Lc -18.4 Dividers and decoration only
Black text on #F0DFAB 15.84:1 AAA Lc 87.6 Fine for body text
#F0DFAB text on white 1.32:1 Fails Lc 16.0 Dividers and decoration only
#F0DFAB text on black 15.84:1 AAA Lc -87.7 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

    #F8F5ED

    oklch(97% 0.011 89.7)

  2. Step 100

    100

    #F0EAD7

    oklch(93.7% 0.026 92.4)

  3. Step 200

    200 (this color)

    #F0DFAB

    oklch(90.5% 0.07 92.1)

  4. Step 300

    300

    #D5BF7C

    oklch(80.8% 0.09 91.9)

  5. Step 400

    400

    #C19D06

    oklch(70.8% 0.144 92.2)

  6. Step 500

    500

    #A58600

    oklch(63.1% 0.129 92.4)

  7. Step 600

    600

    #8B7000

    oklch(55.5% 0.114 92)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#F0DFAB 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)#EADDA80.011
Deuteranopia (no green cones)#EFE2AD0.007
Tritanopia (no blue cones)#FBD7D10.063
Achromatopsia (no color)#E0E0E00.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0DFAB

    #F0DFAB

    oklch(90.5% 0.07 92.1)

  • #D5DFFF

    #D5DFFF

    oklch(90.6% 0.045 271.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0DFAB

    #F0DFAB

    oklch(90.5% 0.07 92.1)

  • #FFD7B5

    #FFD7B5

    oklch(90.5% 0.063 62.3)

  • #D7E8B4

    #D7E8B4

    oklch(90.5% 0.071 122.5)

Open the analogous palette in the generator

Split complementary

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

  • #F0DFAB

    #F0DFAB

    oklch(90.5% 0.07 92.1)

  • #C3E5FF

    #C3E5FF

    oklch(90.6% 0.051 241.1)

  • #E6D8FF

    #E6D8FF

    oklch(90.6% 0.055 301.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0DFAB

    #F0DFAB

    oklch(90.5% 0.07 92.1)

  • #A9EDFB

    #A9EDFB

    oklch(90.6% 0.07 211.8)

  • #FCCFF4

    #FCCFF4

    oklch(90.4% 0.07 332.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0DFAB

    #F0DFAB

    oklch(90.5% 0.07 92.1)

  • #ACEFE3

    #ACEFE3

    oklch(90.4% 0.069 182.4)

  • #D5DFFF

    #D5DFFF

    oklch(90.6% 0.045 271.7)

  • #FFD2DD

    #FFD2DD

    oklch(90.5% 0.052 1.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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