#EBC987

Closest named color: Sand (#E2CA76). oklch(85% 0.092 83.4), rgb(235, 201, 135).

Aa

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

About this color

#EBC987 is a light, moderately saturated orange. In OKLCH its lightness is 85%, its chroma 0.092 and its hue 83°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.026 away. Black text reads best on it, at 13.23:1.

Hue familyOranges
Lightnesslight (85%)
Chromamoderately saturated (0.092)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.23:1
White text1.58:1

Values

HEX#EBC987
RGBrgb(235, 201, 135)
HSLhsl(40, 71%, 73%)
OKLCHoklch(85% 0.092 83.4)

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 #EBC987 1.58:1 Fails Lc -30.0 Dividers and decoration only
Black text on #EBC987 13.23:1 AAA Lc 77.2 Fine for body text
#EBC987 text on white 1.58:1 Fails Lc 26.5 Dividers and decoration only
#EBC987 text on black 13.23:1 AAA Lc -76.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

    #FBF5EA

    oklch(97.2% 0.016 82.8)

  2. Step 100

    100

    #F5E8D1

    oklch(93.5% 0.034 82)

  3. Step 200

    200 (this color)

    #EBC987

    oklch(85% 0.092 83.4)

  4. Step 300

    300

    #E5BA61

    oklch(80.9% 0.118 83.8)

  5. Step 400

    400

    #CC9700

    oklch(70.8% 0.145 83.4)

  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

#EBC987 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)#D9C8820.028
Deuteranopia (no green cones)#E1D1890.023
Tritanopia (no blue cones)#FABEB80.081
Achromatopsia (no color)#CDCDCD0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #EBC987

    #EBC987

    oklch(85% 0.092 83.4)

  • #B5CEFF

    #B5CEFF

    oklch(85% 0.074 263.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EBC987

    #EBC987

    oklch(85% 0.092 83.4)

  • #FEBE95

    #FEBE95

    oklch(85.1% 0.092 53.8)

  • #CDD58E

    #CDD58E

    oklch(85% 0.093 113.6)

Open the analogous palette in the generator

Split complementary

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

  • #EBC987

    #EBC987

    oklch(85% 0.092 83.4)

  • #92D8FF

    #92D8FF

    oklch(85% 0.089 233.7)

  • #D0C4FF

    #D0C4FF

    oklch(85% 0.082 293.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EBC987

    #EBC987

    oklch(85% 0.092 83.4)

  • #7FE0E9

    #7FE0E9

    oklch(85% 0.092 203.3)

  • #ECBAF1

    #ECBAF1

    oklch(85.1% 0.092 323.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EBC987

    #EBC987

    oklch(85% 0.092 83.4)

  • #8BE2C8

    #8BE2C8

    oklch(85% 0.093 173)

  • #B5CEFF

    #B5CEFF

    oklch(85% 0.074 263.7)

  • #FEB5D3

    #FEB5D3

    oklch(85% 0.092 352.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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