#ECE7A6

Closest named color: Pale Goldenrod (#EEE8AA). oklch(91.7% 0.083 104.2), rgb(236, 231, 166).

Aa

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

About this color

#ECE7A6 is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.083 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Goldenrod (#EEE8AA), ΔE 0.006 away. Black text reads best on it, at 16.54:1.

Hue familyYellows
Lightnessvery light (92%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest namePale Goldenrod (#EEE8AA)
Black text16.54:1
White text1.26:1

Values

HEX#ECE7A6
RGBrgb(236, 231, 166)
HSLhsl(56, 65%, 79%)
OKLCHoklch(91.7% 0.083 104.2)

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 #ECE7A6 1.26:1 Fails Lc -15.4 Dividers and decoration only
Black text on #ECE7A6 16.54:1 AAA Lc 90.3 Preferred for body text
#ECE7A6 text on white 1.26:1 Fails Lc 13.3 Not readable
#ECE7A6 text on black 16.54:1 AAA Lc -90.6 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

    #F7F6EB

    oklch(97.1% 0.015 102.5)

  2. Step 100

    100 (this color)

    #ECE7A6

    oklch(91.7% 0.083 104.2)

  3. Step 200

    200

    #DFDCAF

    oklch(88.6% 0.059 104.4)

  4. Step 300

    300

    #CCC470

    oklch(80.9% 0.106 103.7)

  5. Step 400

    400

    #B0A400

    oklch(70.6% 0.149 104.3)

  6. Step 500

    500

    #978C00

    oklch(63% 0.133 104)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#ECE7A6 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)#F2E2A20.014
Deuteranopia (no green cones)#F5E6A80.013
Tritanopia (no blue cones)#F6DFD60.074
Achromatopsia (no color)#E4E4E40.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECE7A6

    #ECE7A6

    oklch(91.7% 0.083 104.2)

  • #DFE0FF

    #DFE0FF

    oklch(91.5% 0.042 284.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECE7A6

    #ECE7A6

    oklch(91.7% 0.083 104.2)

  • #FFDEB2

    #FFDEB2

    oklch(91.7% 0.068 74.7)

  • #CDF0B8

    #CDF0B8

    oklch(91.6% 0.083 133.9)

Open the analogous palette in the generator

Split complementary

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

  • #ECE7A6

    #ECE7A6

    oklch(91.7% 0.083 104.2)

  • #D1E6FF

    #D1E6FF

    oklch(91.7% 0.041 252.8)

  • #F2D9FF

    #F2D9FF

    oklch(91.7% 0.057 314.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECE7A6

    #ECE7A6

    oklch(91.7% 0.083 104.2)

  • #BDECFF

    #BDECFF

    oklch(91.6% 0.055 224.5)

  • #FFD6EC

    #FFD6EC

    oklch(91.7% 0.054 344.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECE7A6

    #ECE7A6

    oklch(91.7% 0.083 104.2)

  • #9FF6F4

    #9FF6F4

    oklch(91.8% 0.084 193.9)

  • #DFE0FF

    #DFE0FF

    oklch(91.5% 0.042 284.1)

  • #FFD8DB

    #FFD8DB

    oklch(91.6% 0.044 12.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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