#ECE684

Closest named color: Khaki (#F0E68C). oklch(90.9% 0.12 105.5), rgb(236, 230, 132).

Aa

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

About this color

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

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

Values

HEX#ECE684
RGBrgb(236, 230, 132)
HSLhsl(57, 73%, 72%)
OKLCHoklch(90.9% 0.12 105.5)

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 #ECE684 1.29:1 Fails Lc -16.8 Dividers and decoration only
Black text on #ECE684 16.21:1 AAA Lc 89.1 Fine for body text
#ECE684 text on white 1.29:1 Fails Lc 14.6 Not readable
#ECE684 text on black 16.21:1 AAA Lc -89.2 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

    #F7F7E7

    oklch(97.2% 0.021 106.8)

  2. Step 100

    100

    #EEECCA

    oklch(93.6% 0.045 104.5)

  3. Step 200

    200 (this color)

    #ECE684

    oklch(90.9% 0.12 105.5)

  4. Step 300

    300

    #CFC638

    oklch(81% 0.155 105.7)

  5. Step 400

    400

    #AEA500

    oklch(70.7% 0.151 105.7)

  6. Step 500

    500

    #958D00

    oklch(63% 0.134 105.6)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #696300

    oklch(49% 0.104 105.5)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  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

#ECE684 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)#F5DF7C0.019
Deuteranopia (no green cones)#F8E4880.019
Tritanopia (no blue cones)#F9DBCF0.108
Achromatopsia (no color)#E2E2E20.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECE684

    #ECE684

    oklch(90.9% 0.12 105.5)

  • #DDDDFF

    #DDDDFF

    oklch(90.8% 0.046 285.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECE684

    #ECE684

    oklch(90.9% 0.12 105.5)

  • #FFDBA8

    #FFDBA8

    oklch(91% 0.077 76.2)

  • #BEF3A2

    #BEF3A2

    oklch(90.8% 0.12 135.2)

Open the analogous palette in the generator

Split complementary

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

  • #ECE684

    #ECE684

    oklch(90.9% 0.12 105.5)

  • #CEE3FF

    #CEE3FF

    oklch(90.9% 0.045 255.6)

  • #F2D5FF

    #F2D5FF

    oklch(91% 0.064 315.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECE684

    #ECE684

    oklch(90.9% 0.12 105.5)

  • #B8EAFF

    #B8EAFF

    oklch(90.9% 0.059 225.5)

  • #FFD2EA

    #FFD2EA

    oklch(90.9% 0.059 345)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECE684

    #ECE684

    oklch(90.9% 0.12 105.5)

  • #6FFAFA

    #6FFAFA

    oklch(90.9% 0.12 195.2)

  • #DDDDFF

    #DDDDFF

    oklch(90.8% 0.046 285.4)

  • #FFD5D7

    #FFD5D7

    oklch(90.9% 0.047 14.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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