#F0D297

Closest named color: Vanilla (#E9D8A6). oklch(87.5% 0.083 83.9), rgb(240, 210, 151).

Aa

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

About this color

#F0D297 is a light, moderately saturated orange. In OKLCH its lightness is 88%, its chroma 0.083 and its hue 84°. 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 14.37:1.

Hue familyOranges
Lightnesslight (88%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text14.37:1
White text1.46:1

Values

HEX#F0D297
RGBrgb(240, 210, 151)
HSLhsl(40, 75%, 77%)
OKLCHoklch(87.5% 0.083 83.9)

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 #F0D297 1.46:1 Fails Lc -24.9 Dividers and decoration only
Black text on #F0D297 14.37:1 AAA Lc 81.8 Fine for body text
#F0D297 text on white 1.46:1 Fails Lc 21.9 Dividers and decoration only
#F0D297 text on black 14.37:1 AAA Lc -81.4 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

    #FAF5EB

    oklch(97.1% 0.014 84.6)

  2. Step 100

    100

    #F4E9D3

    oklch(93.7% 0.031 84.6)

  3. Step 200

    200 (this color)

    #F0D297

    oklch(87.5% 0.083 83.9)

  4. Step 300

    300

    #E1BB6D

    oklch(80.9% 0.106 84.1)

  5. Step 400

    400

    #CB9700

    oklch(70.7% 0.145 83.8)

  6. Step 500

    500

    #AE8100

    oklch(63% 0.129 83.9)

  7. Step 600

    600

    #936C00

    oklch(55.6% 0.114 83.5)

  8. Step 700

    700

    #7C5B00

    oklch(49.2% 0.101 83.9)

  9. Step 800

    800

    #664A00

    oklch(42.8% 0.088 83.6)

  10. Step 900

    900

    #553D00

    oklch(37.7% 0.077 83.5)

  11. Step 950

    950

    #332400

    oklch(27.1% 0.056 85)

Export this scale for Tailwind in the Tailwind colors tool

#F0D297 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)#E0D1930.024
Deuteranopia (no green cones)#E8D9990.020
Tritanopia (no blue cones)#FEC8C30.074
Achromatopsia (no color)#D5D5D50.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0D297

    #F0D297

    oklch(87.5% 0.083 83.9)

  • #C2D6FF

    #C2D6FF

    oklch(87.5% 0.061 264.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0D297

    #F0D297

    oklch(87.5% 0.083 83.9)

  • #FFC9A7

    #FFC9A7

    oklch(87.5% 0.077 53.7)

  • #D5DD9E

    #D5DD9E

    oklch(87.6% 0.083 114)

Open the analogous palette in the generator

Split complementary

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

  • #F0D297

    #F0D297

    oklch(87.5% 0.083 83.9)

  • #A7DFFF

    #A7DFFF

    oklch(87.6% 0.072 233.7)

  • #D8CEFF

    #D8CEFF

    oklch(87.5% 0.068 294.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0D297

    #F0D297

    oklch(87.5% 0.083 83.9)

  • #92E6EF

    #92E6EF

    oklch(87.5% 0.082 204.4)

  • #F2C4F5

    #F2C4F5

    oklch(87.6% 0.083 324.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0D297

    #F0D297

    oklch(87.5% 0.083 83.9)

  • #9BE8D2

    #9BE8D2

    oklch(87.5% 0.082 174.4)

  • #C2D6FF

    #C2D6FF

    oklch(87.5% 0.061 264.6)

  • #FFC2D9

    #FFC2D9

    oklch(87.5% 0.075 354.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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