#ECD297

Closest named color: Vanilla (#E9D8A6). oklch(87.2% 0.081 86.9), rgb(236, 210, 151).

Aa

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

About this color

#ECD297 is a light, moderately saturated orange. In OKLCH its lightness is 87%, its chroma 0.081 and its hue 87°. 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.23:1.

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

Values

HEX#ECD297
RGBrgb(236, 210, 151)
HSLhsl(42, 69%, 76%)
OKLCHoklch(87.2% 0.081 86.9)

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 #ECD297 1.47:1 Fails Lc -25.5 Dividers and decoration only
Black text on #ECD297 14.23:1 AAA Lc 81.3 Fine for body text
#ECD297 text on white 1.47:1 Fails Lc 22.4 Dividers and decoration only
#ECD297 text on black 14.23:1 AAA Lc -80.8 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

    #F9F5EB

    oklch(97.1% 0.014 88.7)

  2. Step 100

    100

    #F3E9D4

    oklch(93.6% 0.03 85.6)

  3. Step 200

    200 (this color)

    #ECD297

    oklch(87.2% 0.081 86.9)

  4. Step 300

    300

    #DEBC6F

    oklch(80.8% 0.104 86.3)

  5. Step 400

    400

    #C79900

    oklch(70.6% 0.144 87)

  6. Step 500

    500

    #AB8300

    oklch(63.1% 0.129 87)

  7. Step 600

    600

    #906E00

    oklch(55.7% 0.114 87.1)

  8. Step 700

    700

    #795C00

    oklch(49.1% 0.1 87.1)

  9. Step 800

    800

    #644B00

    oklch(42.8% 0.087 86.6)

  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

#ECD297 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)#E0D0930.019
Deuteranopia (no green cones)#E6D7990.014
Tritanopia (no blue cones)#F9C8C30.074
Achromatopsia (no color)#D4D4D40.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECD297

    #ECD297

    oklch(87.2% 0.081 86.9)

  • #C2D4FF

    #C2D4FF

    oklch(87.1% 0.063 267.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECD297

    #ECD297

    oklch(87.2% 0.081 86.9)

  • #FFC8A1

    #FFC8A1

    oklch(87.2% 0.081 56.8)

  • #D1DC9F

    #D1DC9F

    oklch(87.1% 0.081 116.4)

Open the analogous palette in the generator

Split complementary

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

  • #ECD297

    #ECD297

    oklch(87.2% 0.081 86.9)

  • #A8DDFF

    #A8DDFF

    oklch(87.2% 0.072 236.8)

  • #D9CCFF

    #D9CCFF

    oklch(87.2% 0.071 296.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECD297

    #ECD297

    oklch(87.2% 0.081 86.9)

  • #93E4F0

    #93E4F0

    oklch(87.1% 0.081 207.7)

  • #F2C3F1

    #F2C3F1

    oklch(87.2% 0.08 326.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECD297

    #ECD297

    oklch(87.2% 0.081 86.9)

  • #99E7D4

    #99E7D4

    oklch(87.2% 0.082 177.2)

  • #C2D4FF

    #C2D4FF

    oklch(87.1% 0.063 267.2)

  • #FFC1D6

    #FFC1D6

    oklch(87.3% 0.076 356.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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