#ECE780

Closest named color: Khaki (#F0E68C). oklch(91% 0.126 106.2), rgb(236, 231, 128).

Aa

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

About this color

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

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

Values

HEX#ECE780
RGBrgb(236, 231, 128)
HSLhsl(57, 74%, 71%)
OKLCHoklch(91% 0.126 106.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 #ECE780 1.28:1 Fails Lc -16.4 Dividers and decoration only
Black text on #ECE780 16.30:1 AAA Lc 89.4 Fine for body text
#ECE780 text on white 1.28:1 Fails Lc 14.2 Not readable
#ECE780 text on black 16.30: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

    #EDECC9

    oklch(93.5% 0.046 105.9)

  3. Step 200

    200 (this color)

    #ECE780

    oklch(91% 0.126 106.2)

  4. Step 300

    300

    #CFC62C

    oklch(80.9% 0.161 105.9)

  5. Step 400

    400

    #ADA500

    oklch(70.6% 0.151 106.2)

  6. Step 500

    500

    #958E00

    oklch(63.2% 0.135 106.2)

  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

    #565100

    oklch(42.6% 0.091 105.5)

  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

#ECE780 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)#F6E0770.020
Deuteranopia (no green cones)#F9E5850.020
Tritanopia (no blue cones)#FADBCF0.114
Achromatopsia (no color)#E3E3E30.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECE780

    #ECE780

    oklch(91% 0.126 106.2)

  • #DEDEFF

    #DEDEFF

    oklch(91.1% 0.045 285.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECE780

    #ECE780

    oklch(91% 0.126 106.2)

  • #FFDBA9

    #FFDBA9

    oklch(91% 0.076 75.7)

  • #BBF5A1

    #BBF5A1

    oklch(91.1% 0.125 136.3)

Open the analogous palette in the generator

Split complementary

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

  • #ECE780

    #ECE780

    oklch(91% 0.126 106.2)

  • #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.

  • #ECE780

    #ECE780

    oklch(91% 0.126 106.2)

  • #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.

  • #ECE780

    #ECE780

    oklch(91% 0.126 106.2)

  • #67FBFD

    #67FBFD

    oklch(91% 0.125 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 #ECE780, closest first.

Similar named colors

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

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