#ECCC8C

Closest named color: Sand (#E2CA76). oklch(85.8% 0.089 84.1), rgb(236, 204, 140).

Aa

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

About this color

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

Hue familyOranges
Lightnesslight (86%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.58:1
White text1.54:1

Values

HEX#ECCC8C
RGBrgb(236, 204, 140)
HSLhsl(40, 72%, 74%)
OKLCHoklch(85.8% 0.089 84.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 #ECCC8C 1.54:1 Fails Lc -28.4 Dividers and decoration only
Black text on #ECCC8C 13.58:1 AAA Lc 78.7 Fine for body text
#ECCC8C text on white 1.54:1 Fails Lc 25.1 Dividers and decoration only
#ECCC8C text on black 13.58:1 AAA Lc -78.0 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

    #FAF5EA

    oklch(97.1% 0.015 86.4)

  2. Step 100

    100

    #F4E9D1

    oklch(93.6% 0.034 86.3)

  3. Step 200

    200 (this color)

    #ECCC8C

    oklch(85.8% 0.089 84.1)

  4. Step 300

    300

    #E3BA65

    oklch(80.8% 0.114 84)

  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

    #926C00

    oklch(55.5% 0.114 84.1)

  8. Step 700

    700

    #7B5B00

    oklch(49.1% 0.101 84.7)

  9. Step 800

    800

    #654A00

    oklch(42.7% 0.087 84.5)

  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

#ECCC8C 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)#DBCB870.026
Deuteranopia (no green cones)#E3D38E0.021
Tritanopia (no blue cones)#FAC1BC0.080
Achromatopsia (no color)#D0D0D00.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECCC8C

    #ECCC8C

    oklch(85.8% 0.089 84.1)

  • #B9D1FF

    #B9D1FF

    oklch(85.8% 0.069 263.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECCC8C

    #ECCC8C

    oklch(85.8% 0.089 84.1)

  • #FFC199

    #FFC199

    oklch(85.8% 0.089 54)

  • #CFD793

    #CFD793

    oklch(85.7% 0.089 113.8)

Open the analogous palette in the generator

Split complementary

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

  • #ECCC8C

    #ECCC8C

    oklch(85.8% 0.089 84.1)

  • #99DAFF

    #99DAFF

    oklch(85.8% 0.084 234)

  • #D3C7FF

    #D3C7FF

    oklch(85.8% 0.078 294.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECCC8C

    #ECCC8C

    oklch(85.8% 0.089 84.1)

  • #85E2EB

    #85E2EB

    oklch(85.8% 0.089 203.6)

  • #EEBDF2

    #EEBDF2

    oklch(85.8% 0.089 323.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECCC8C

    #ECCC8C

    oklch(85.8% 0.089 84.1)

  • #90E4CC

    #90E4CC

    oklch(85.8% 0.089 174)

  • #B9D1FF

    #B9D1FF

    oklch(85.8% 0.069 263.3)

  • #FFB9D4

    #FFB9D4

    oklch(85.8% 0.087 354.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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