#F0D298

Closest named color: Vanilla (#E9D8A6). oklch(87.6% 0.082 83.5), rgb(240, 210, 152).

Aa

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

About this color

#F0D298 is a light, moderately saturated orange. In OKLCH its lightness is 88%, its chroma 0.082 and its hue 84°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.019 away. Black text reads best on it, at 14.37:1.

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

Values

HEX#F0D298
RGBrgb(240, 210, 152)
HSLhsl(40, 75%, 77%)
OKLCHoklch(87.6% 0.082 83.5)

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 #F0D298 1.46:1 Fails Lc -24.8 Dividers and decoration only
Black text on #F0D298 14.37:1 AAA Lc 81.9 Fine for body text
#F0D298 text on white 1.46:1 Fails Lc 21.8 Dividers and decoration only
#F0D298 text on black 14.37:1 AAA Lc -81.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

    #FAF5EB

    oklch(97.1% 0.014 84.6)

  2. Step 100

    100

    #F4E9D4

    oklch(93.7% 0.03 83.6)

  3. Step 200

    200 (this color)

    #F0D298

    oklch(87.6% 0.082 83.5)

  4. Step 300

    300

    #E1BB6E

    oklch(80.9% 0.105 83.8)

  5. Step 400

    400

    #CB9700

    oklch(70.7% 0.145 83.8)

  6. Step 500

    500

    #AF8100

    oklch(63.2% 0.13 83.3)

  7. Step 600

    600

    #936C00

    oklch(55.6% 0.114 83.5)

  8. Step 700

    700

    #7C5A00

    oklch(49% 0.101 82.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

    #332300

    oklch(26.8% 0.055 83)

Export this scale for Tailwind in the Tailwind colors tool

#F0D298 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)#E0D1940.024
Deuteranopia (no green cones)#E8D99A0.020
Tritanopia (no blue cones)#FEC8C30.073
Achromatopsia (no color)#D5D5D50.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0D298

    #F0D298

    oklch(87.6% 0.082 83.5)

  • #C2D7FF

    #C2D7FF

    oklch(87.7% 0.06 263.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0D298

    #F0D298

    oklch(87.6% 0.082 83.5)

  • #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°).

  • #F0D298

    #F0D298

    oklch(87.6% 0.082 83.5)

  • #A6DFFF

    #A6DFFF

    oklch(87.6% 0.073 233.3)

  • #D7CEFF

    #D7CEFF

    oklch(87.5% 0.068 293.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0D298

    #F0D298

    oklch(87.6% 0.082 83.5)

  • #93E6EE

    #93E6EE

    oklch(87.5% 0.081 203.6)

  • #F1C4F5

    #F1C4F5

    oklch(87.5% 0.082 323.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0D298

    #F0D298

    oklch(87.6% 0.082 83.5)

  • #9CE8D1

    #9CE8D1

    oklch(87.5% 0.082 173.4)

  • #C2D7FF

    #C2D7FF

    oklch(87.7% 0.06 263.3)

  • #FFC2DA

    #FFC2DA

    oklch(87.6% 0.076 353.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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