#ECEA8A

Closest named color: Khaki (#F0E68C). oklch(91.8% 0.119 107.5), rgb(236, 234, 138).

Aa

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

About this color

#ECEA8A is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.119 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.012 away. Black text reads best on it, at 16.70:1.

Hue familyYellows
Lightnessvery light (92%)
Chromamoderately saturated (0.119)
Temperaturewarm
Nearest nameKhaki (#F0E68C)
Black text16.70:1
White text1.25:1

Values

HEX#ECEA8A
RGBrgb(236, 234, 138)
HSLhsl(59, 72%, 73%)
OKLCHoklch(91.8% 0.119 107.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 #ECEA8A 1.25:1 Fails Lc -14.7 Not readable
Black text on #ECEA8A 16.70:1 AAA Lc 90.9 Preferred for body text
#ECEA8A text on white 1.25:1 Fails Lc 12.7 Not readable
#ECEA8A text on black 16.70:1 AAA Lc -91.2 Preferred 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 100.

  1. Step 50

    50

    #F6F7E7

    oklch(97.1% 0.021 109.7)

  2. Step 100

    100 (this color)

    #ECEA8A

    oklch(91.8% 0.119 107.5)

  3. Step 200

    200

    #DEDE9C

    oklch(88.5% 0.085 108)

  4. Step 300

    300

    #CBC73F

    oklch(80.9% 0.152 107.7)

  5. Step 400

    400

    #ABA600

    oklch(70.6% 0.152 107.6)

  6. Step 500

    500

    #938E00

    oklch(63.1% 0.135 107.2)

  7. Step 600

    600

    #7B7700

    oklch(55.5% 0.119 107.4)

  8. Step 700

    700

    #676400

    oklch(49% 0.105 107.7)

  9. Step 800

    800

    #555200

    oklch(42.8% 0.092 107.3)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#ECEA8A 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)#F8E3820.022
Deuteranopia (no green cones)#FAE78E0.022
Tritanopia (no blue cones)#F9DFD30.107
Achromatopsia (no color)#E5E5E50.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECEA8A

    #ECEA8A

    oklch(91.8% 0.119 107.5)

  • #E2E0FF

    #E2E0FF

    oklch(91.8% 0.042 288.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECEA8A

    #ECEA8A

    oklch(91.8% 0.119 107.5)

  • #FFDFAF

    #FFDFAF

    oklch(91.9% 0.071 77.7)

  • #BEF7A9

    #BEF7A9

    oklch(91.8% 0.118 137.5)

Open the analogous palette in the generator

Split complementary

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

  • #ECEA8A

    #ECEA8A

    oklch(91.8% 0.119 107.5)

  • #D4E5FF

    #D4E5FF

    oklch(91.7% 0.04 258.8)

  • #F5D8FF

    #F5D8FF

    oklch(91.8% 0.061 317.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECEA8A

    #ECEA8A

    oklch(91.8% 0.119 107.5)

  • #C1ECFF

    #C1ECFF

    oklch(91.9% 0.051 226.5)

  • #FFD7EA

    #FFD7EA

    oklch(91.8% 0.051 347.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECEA8A

    #ECEA8A

    oklch(91.8% 0.119 107.5)

  • #79FCFF

    #79FCFF

    oklch(91.9% 0.116 197.4)

  • #E2E0FF

    #E2E0FF

    oklch(91.8% 0.042 288.5)

  • #FFD9DA

    #FFD9DA

    oklch(91.7% 0.042 16.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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