#F0CF97

Closest named color: Vanilla (#E9D8A6). oklch(86.9% 0.081 80.5), rgb(240, 207, 151).

Aa

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

About this color

#F0CF97 is a light, moderately saturated orange. In OKLCH its lightness is 87%, its chroma 0.081 and its hue 81°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.024 away. Black text reads best on it, at 14.07:1.

Hue familyOranges
Lightnesslight (87%)
Chromamoderately saturated (0.081)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text14.07:1
White text1.49:1

Values

HEX#F0CF97
RGBrgb(240, 207, 151)
HSLhsl(38, 75%, 77%)
OKLCHoklch(86.9% 0.081 80.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 #F0CF97 1.49:1 Fails Lc -26.2 Dividers and decoration only
Black text on #F0CF97 14.07:1 AAA Lc 80.7 Fine for body text
#F0CF97 text on white 1.49:1 Fails Lc 23.1 Dividers and decoration only
#F0CF97 text on black 14.07:1 AAA Lc -80.2 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

    #F5E8D4

    oklch(93.6% 0.03 78.8)

  3. Step 200

    200 (this color)

    #F0CF97

    oklch(86.9% 0.081 80.5)

  4. Step 300

    300

    #E4B970

    oklch(80.9% 0.104 79.7)

  5. Step 400

    400

    #CF9500

    oklch(70.7% 0.146 80.7)

  6. Step 500

    500

    #B27F00

    oklch(63.1% 0.131 80.3)

  7. Step 600

    600

    #966A00

    oklch(55.5% 0.115 79.9)

  8. Step 700

    700

    #7E5900

    oklch(49% 0.101 80.5)

  9. Step 800

    800

    #684900

    oklch(42.8% 0.089 80.7)

  10. Step 900

    900

    #573C00

    oklch(37.7% 0.078 80.1)

  11. Step 950

    950

    #342300

    oklch(27% 0.056 81.4)

Export this scale for Tailwind in the Tailwind colors tool

#F0CF97 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)#DDCF930.029
Deuteranopia (no green cones)#E5D7990.024
Tritanopia (no blue cones)#FEC5C00.071
Achromatopsia (no color)#D3D3D30.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0CF97

    #F0CF97

    oklch(86.9% 0.081 80.5)

  • #BCD5FF

    #BCD5FF

    oklch(86.9% 0.064 260.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0CF97

    #F0CF97

    oklch(86.9% 0.081 80.5)

  • #FFC6A6

    #FFC6A6

    oklch(87% 0.078 50.6)

  • #D6DA9B

    #D6DA9B

    oklch(87% 0.082 111)

Open the analogous palette in the generator

Split complementary

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

  • #F0CF97

    #F0CF97

    oklch(86.9% 0.081 80.5)

  • #9DDEFF

    #9DDEFF

    oklch(86.8% 0.08 230.9)

  • #D3CDFF

    #D3CDFF

    oklch(87% 0.069 290.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0CF97

    #F0CF97

    oklch(86.9% 0.081 80.5)

  • #92E5E9

    #92E5E9

    oklch(87% 0.081 199.7)

  • #EDC3F5

    #EDC3F5

    oklch(86.9% 0.081 320.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0CF97

    #F0CF97

    oklch(86.9% 0.081 80.5)

  • #9DE6CC

    #9DE6CC

    oklch(87% 0.081 170.1)

  • #BCD5FF

    #BCD5FF

    oklch(86.9% 0.064 260.8)

  • #FEBFDB

    #FEBFDB

    oklch(87% 0.08 350.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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