#F0CE7C

Closest named color: Sand (#E2CA76). oklch(86.3% 0.108 87.6), rgb(240, 206, 124).

Aa

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

About this color

#F0CE7C is a light, moderately saturated orange. In OKLCH its lightness is 86%, its chroma 0.108 and its hue 88°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.025 away. Black text reads best on it, at 13.82:1.

Hue familyOranges
Lightnesslight (86%)
Chromamoderately saturated (0.108)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.82:1
White text1.51:1

Values

HEX#F0CE7C
RGBrgb(240, 206, 124)
HSLhsl(42, 79%, 71%)
OKLCHoklch(86.3% 0.108 87.6)

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 #F0CE7C 1.51:1 Fails Lc -27.3 Dividers and decoration only
Black text on #F0CE7C 13.82:1 AAA Lc 79.7 Fine for body text
#F0CE7C text on white 1.51:1 Fails Lc 24.1 Dividers and decoration only
#F0CE7C text on black 13.82:1 AAA Lc -79.1 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

    #FBF5E8

    oklch(97.1% 0.018 86.1)

  2. Step 100

    100

    #F5E9CC

    oklch(93.6% 0.04 88.2)

  3. Step 200

    200 (this color)

    #F0CE7C

    oklch(86.3% 0.108 87.6)

  4. Step 300

    300

    #E6BA47

    oklch(80.8% 0.139 87.5)

  5. Step 400

    400

    #C69A00

    oklch(70.7% 0.145 88.1)

  6. Step 500

    500

    #AA8300

    oklch(63% 0.129 87.5)

  7. Step 600

    600

    #8F6E00

    oklch(55.5% 0.114 87.7)

  8. Step 700

    700

    #795C00

    oklch(49.1% 0.1 87.1)

  9. Step 800

    800

    #634B00

    oklch(42.6% 0.087 87.5)

  10. Step 900

    900

    #533E00

    oklch(37.6% 0.077 86.9)

  11. Step 950

    950

    #322400

    oklch(27% 0.055 86.6)

Export this scale for Tailwind in the Tailwind colors tool

#F0CE7C 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)#DFCC750.028
Deuteranopia (no green cones)#E8D57F0.020
Tritanopia (no blue cones)#FFC1BA0.098
Achromatopsia (no color)#D2D2D20.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0CE7C

    #F0CE7C

    oklch(86.3% 0.108 87.6)

  • #BFD1FF

    #BFD1FF

    oklch(86.3% 0.067 268.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0CE7C

    #F0CE7C

    oklch(86.3% 0.108 87.6)

  • #FFC498

    #FFC498

    oklch(86.3% 0.089 57.9)

  • #CCDC89

    #CCDC89

    oklch(86.3% 0.108 117.6)

Open the analogous palette in the generator

Split complementary

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

  • #F0CE7C

    #F0CE7C

    oklch(86.3% 0.108 87.6)

  • #A2DAFF

    #A2DAFF

    oklch(86.3% 0.077 237.8)

  • #D7C8FF

    #D7C8FF

    oklch(86.3% 0.077 297.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0CE7C

    #F0CE7C

    oklch(86.3% 0.108 87.6)

  • #71E6F7

    #71E6F7

    oklch(86.3% 0.108 208)

  • #F9B9F7

    #F9B9F7

    oklch(86.4% 0.109 327.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0CE7C

    #F0CE7C

    oklch(86.3% 0.108 87.6)

  • #7BE9D1

    #7BE9D1

    oklch(86.2% 0.108 177.6)

  • #BFD1FF

    #BFD1FF

    oklch(86.3% 0.067 268.2)

  • #FFBCD2

    #FFBCD2

    oklch(86.3% 0.082 357.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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