#ECE68E

Closest named color: Khaki (#F0E68C). oklch(91% 0.11 105), rgb(236, 230, 142).

Aa

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

About this color

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

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

Values

HEX#ECE68E
RGBrgb(236, 230, 142)
HSLhsl(56, 71%, 74%)
OKLCHoklch(91% 0.11 105)

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 #ECE68E 1.29:1 Fails Lc -16.5 Dividers and decoration only
Black text on #ECE68E 16.27:1 AAA Lc 89.3 Fine for body text
#ECE68E text on white 1.29:1 Fails Lc 14.4 Not readable
#ECE68E text on black 16.27:1 AAA Lc -89.5 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

    #F7F6E8

    oklch(97% 0.018 103.4)

  2. Step 100

    100

    #EDECCD

    oklch(93.6% 0.041 105.6)

  3. Step 200

    200 (this color)

    #ECE68E

    oklch(91% 0.11 105)

  4. Step 300

    300

    #CEC54C

    oklch(80.8% 0.141 105.1)

  5. Step 400

    400

    #AFA500

    oklch(70.8% 0.15 105.3)

  6. Step 500

    500

    #968D00

    oklch(63.1% 0.134 105.1)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#ECE68E 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)#F4E0870.017
Deuteranopia (no green cones)#F7E5920.017
Tritanopia (no blue cones)#F9DBD00.099
Achromatopsia (no color)#E2E2E20.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECE68E

    #ECE68E

    oklch(91% 0.11 105)

  • #DEDEFF

    #DEDEFF

    oklch(91.1% 0.045 285.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECE68E

    #ECE68E

    oklch(91% 0.11 105)

  • #FFDBAB

    #FFDBAB

    oklch(91% 0.074 74.6)

  • #C2F2A8

    #C2F2A8

    oklch(91% 0.109 134.9)

Open the analogous palette in the generator

Split complementary

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

  • #ECE68E

    #ECE68E

    oklch(91% 0.11 105)

  • #CEE4FF

    #CEE4FF

    oklch(91.1% 0.044 253.6)

  • #F2D5FF

    #F2D5FF

    oklch(91% 0.064 315.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECE68E

    #ECE68E

    oklch(91% 0.11 105)

  • #B9EAFF

    #B9EAFF

    oklch(91% 0.058 225.9)

  • #FFD3EA

    #FFD3EA

    oklch(91.1% 0.057 345.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECE68E

    #ECE68E

    oklch(91% 0.11 105)

  • #7FF9F8

    #7FF9F8

    oklch(91.2% 0.11 194.7)

  • #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 #ECE68E, closest first.

Similar named colors

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

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