#ECE77D

Closest named color: Khaki (#F0E68C). oklch(91% 0.129 106.3), rgb(236, 231, 125).

Aa

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

About this color

#ECE77D is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.129 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.019 away. Black text reads best on it, at 16.29:1.

Hue familyYellows
Lightnessvery light (91%)
Chromamoderately saturated (0.129)
Temperaturewarm
Nearest nameKhaki (#F0E68C)
Black text16.29:1
White text1.28:1

Values

HEX#ECE77D
RGBrgb(236, 231, 125)
HSLhsl(57, 74%, 71%)
OKLCHoklch(91% 0.129 106.3)

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 #ECE77D 1.28:1 Fails Lc -16.4 Dividers and decoration only
Black text on #ECE77D 16.29:1 AAA Lc 89.4 Fine for body text
#ECE77D text on white 1.28:1 Fails Lc 14.3 Not readable
#ECE77D text on black 16.29:1 AAA Lc -89.6 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

    #F7F7E6

    oklch(97.2% 0.022 106.8)

  2. Step 100

    100

    #EDEDC8

    oklch(93.7% 0.048 107.3)

  3. Step 200

    200 (this color)

    #ECE77D

    oklch(91% 0.129 106.3)

  4. Step 300

    300

    #CFC622

    oklch(80.9% 0.165 106.1)

  5. Step 400

    400

    #ADA500

    oklch(70.6% 0.151 106.2)

  6. Step 500

    500

    #948E00

    oklch(63.1% 0.135 106.7)

  7. Step 600

    600

    #7D7700

    oklch(55.7% 0.119 106.2)

  8. Step 700

    700

    #696400

    oklch(49.2% 0.105 106.3)

  9. Step 800

    800

    #565200

    oklch(42.9% 0.092 106.4)

  10. Step 900

    900

    #474400

    oklch(37.7% 0.081 106.8)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#ECE77D 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)#F7E0740.021
Deuteranopia (no green cones)#F9E5820.020
Tritanopia (no blue cones)#FADBCE0.116
Achromatopsia (no color)#E3E3E30.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECE77D

    #ECE77D

    oklch(91% 0.129 106.3)

  • #DEDEFF

    #DEDEFF

    oklch(91.1% 0.045 285.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECE77D

    #ECE77D

    oklch(91% 0.129 106.3)

  • #FFDBA8

    #FFDBA8

    oklch(91% 0.077 76.2)

  • #BAF59F

    #BAF59F

    oklch(91% 0.128 136.2)

Open the analogous palette in the generator

Split complementary

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

  • #ECE77D

    #ECE77D

    oklch(91% 0.129 106.3)

  • #CFE3FF

    #CFE3FF

    oklch(91% 0.044 256.8)

  • #F3D5FF

    #F3D5FF

    oklch(91.1% 0.065 316.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECE77D

    #ECE77D

    oklch(91% 0.129 106.3)

  • #BAEAFF

    #BAEAFF

    oklch(91% 0.057 226.4)

  • #FFD3E9

    #FFD3E9

    oklch(91.1% 0.057 346.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECE77D

    #ECE77D

    oklch(91% 0.129 106.3)

  • #62FCFE

    #62FCFE

    oklch(91.1% 0.129 196.4)

  • #DEDEFF

    #DEDEFF

    oklch(91.1% 0.045 285.5)

  • #FFD6D7

    #FFD6D7

    oklch(91.1% 0.046 16.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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