#ECEFA2

Closest named color: Light Khaki (#E6F2A2). oklch(93.2% 0.098 110), rgb(236, 239, 162).

Aa

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

About this color

#ECEFA2 is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.098 and its hue 110°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Khaki (#E6F2A2), ΔE 0.011 away. Black text reads best on it, at 17.43:1.

Hue familyYellows
Lightnessvery light (93%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameLight Khaki (#E6F2A2)
Black text17.43:1
White text1.20:1

Values

HEX#ECEFA2
RGBrgb(236, 239, 162)
HSLhsl(62, 71%, 79%)
OKLCHoklch(93.2% 0.098 110)

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 #ECEFA2 1.20:1 Fails Lc -11.6 Not readable
Black text on #ECEFA2 17.43:1 AAA Lc 93.6 Preferred for body text
#ECEFA2 text on white 1.20:1 Fails Lc 10.0 Not readable
#ECEFA2 text on black 17.43:1 AAA Lc -94.2 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

    #F6F7EA

    oklch(97.2% 0.017 110.3)

  2. Step 100

    100 (this color)

    #ECEFA2

    oklch(93.2% 0.098 110)

  3. Step 200

    200

    #DBDEA9

    oklch(88.5% 0.07 110.4)

  4. Step 300

    300

    #C5C862

    oklch(80.9% 0.126 110.4)

  5. Step 400

    400

    #A7A800

    oklch(70.7% 0.155 110.2)

  6. Step 500

    500

    #8F9000

    oklch(63.2% 0.138 110.3)

  7. Step 600

    600

    #787900

    oklch(55.7% 0.122 110.4)

  8. Step 700

    700

    #656500

    oklch(49.1% 0.107 109.8)

  9. Step 800

    800

    #525300

    oklch(42.7% 0.094 110.6)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#ECEFA2 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)#FBE89D0.025
Deuteranopia (no green cones)#FBEBA50.023
Tritanopia (no blue cones)#F6E6DB0.086
Achromatopsia (no color)#EAEAEA0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECEFA2

    #ECEFA2

    oklch(93.2% 0.098 110)

  • #E8E5FF

    #E8E5FF

    oklch(93.2% 0.035 291)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECEFA2

    #ECEFA2

    oklch(93.2% 0.098 110)

  • #FFE5BA

    #FFE5BA

    oklch(93.3% 0.063 80.2)

  • #C6F9BB

    #C6F9BB

    oklch(93.1% 0.097 140.1)

Open the analogous palette in the generator

Split complementary

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

  • #ECEFA2

    #ECEFA2

    oklch(93.2% 0.098 110)

  • #DCEAFF

    #DCEAFF

    oklch(93.3% 0.032 258.4)

  • #F9DEFF

    #F9DEFF

    oklch(93.2% 0.053 320.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECEFA2

    #ECEFA2

    oklch(93.2% 0.098 110)

  • #CEEEFF

    #CEEEFF

    oklch(93.1% 0.041 231)

  • #FFDEEC

    #FFDEEC

    oklch(93.2% 0.041 350.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECEFA2

    #ECEFA2

    oklch(93.2% 0.098 110)

  • #A2FAFF

    #A2FAFF

    oklch(93.1% 0.085 200.4)

  • #E8E5FF

    #E8E5FF

    oklch(93.2% 0.035 291)

  • #FFE0DF

    #FFE0DF

    oklch(93.2% 0.034 20)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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