#ECEB9B

Closest named color: Khaki (#F0E68C). oklch(92.3% 0.101 107.6), rgb(236, 235, 155).

Aa

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

About this color

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

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

Values

HEX#ECEB9B
RGBrgb(236, 235, 155)
HSLhsl(59, 68%, 77%)
OKLCHoklch(92.3% 0.101 107.6)

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 #ECEB9B 1.24:1 Fails Lc -13.8 Not readable
Black text on #ECEB9B 16.92:1 AAA Lc 91.7 Preferred for body text
#ECEB9B text on white 1.24:1 Fails Lc 11.9 Not readable
#ECEB9B text on black 16.92:1 AAA Lc -92.1 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

    #F6F7E9

    oklch(97.2% 0.018 110.1)

  2. Step 100

    100 (this color)

    #ECEB9B

    oklch(92.3% 0.101 107.6)

  3. Step 200

    200

    #DDDDA6

    oklch(88.4% 0.072 107.8)

  4. Step 300

    300

    #C9C75B

    oklch(81% 0.131 108)

  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

#ECEB9B 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)#F8E5950.020
Deuteranopia (no green cones)#F9E89E0.020
Tritanopia (no blue cones)#F7E1D70.091
Achromatopsia (no color)#E7E7E70.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECEB9B

    #ECEB9B

    oklch(92.3% 0.101 107.6)

  • #E3E2FF

    #E3E2FF

    oklch(92.2% 0.039 287.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECEB9B

    #ECEB9B

    oklch(92.3% 0.101 107.6)

  • #FFE1B3

    #FFE1B3

    oklch(92.3% 0.068 78.3)

  • #C5F6B4

    #C5F6B4

    oklch(92.3% 0.101 137.8)

Open the analogous palette in the generator

Split complementary

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

  • #ECEB9B

    #ECEB9B

    oklch(92.3% 0.101 107.6)

  • #D6E7FF

    #D6E7FF

    oklch(92.3% 0.037 257)

  • #F6DAFF

    #F6DAFF

    oklch(92.3% 0.058 317.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECEB9B

    #ECEB9B

    oklch(92.3% 0.101 107.6)

  • #C5EDFF

    #C5EDFF

    oklch(92.3% 0.048 226.9)

  • #FFD9EB

    #FFD9EB

    oklch(92.2% 0.048 347.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECEB9B

    #ECEB9B

    oklch(92.3% 0.101 107.6)

  • #8EFBFD

    #8EFBFD

    oklch(92.4% 0.101 197.1)

  • #E3E2FF

    #E3E2FF

    oklch(92.2% 0.039 287.2)

  • #FFDCDC

    #FFDCDC

    oklch(92.4% 0.039 17.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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