#E8EC9D

Closest named color: Light Khaki (#E6F2A2). oklch(92.2% 0.1 110.7), rgb(232, 236, 157).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (92%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameLight Khaki (#E6F2A2)
Black text16.91:1
White text1.24:1

Values

HEX#E8EC9D
RGBrgb(232, 236, 157)
HSLhsl(63, 68%, 77%)
OKLCHoklch(92.2% 0.1 110.7)

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

    #F6F7EA

    oklch(97.2% 0.017 110.3)

  2. Step 100

    100 (this color)

    #E8EC9D

    oklch(92.2% 0.1 110.7)

  3. Step 200

    200

    #DBDEA7

    oklch(88.5% 0.072 110.4)

  4. Step 300

    300

    #C5C85F

    oklch(80.9% 0.129 110.4)

  5. Step 400

    400

    #A6A800

    oklch(70.6% 0.155 110.6)

  6. Step 500

    500

    #8E9000

    oklch(63.1% 0.138 110.8)

  7. Step 600

    600

    #777900

    oklch(55.6% 0.122 110.9)

  8. Step 700

    700

    #646600

    oklch(49.2% 0.108 111.1)

  9. Step 800

    800

    #525300

    oklch(42.7% 0.094 110.6)

  10. Step 900

    900

    #444500

    oklch(37.7% 0.083 110.7)

  11. Step 950

    950

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#E8EC9D 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)#F8E5970.025
Deuteranopia (no green cones)#F8E8A00.025
Tritanopia (no blue cones)#F2E3D80.088
Achromatopsia (no color)#E7E7E70.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #E8EC9D

    #E8EC9D

    oklch(92.2% 0.1 110.7)

  • #E5E1FF

    #E5E1FF

    oklch(92.2% 0.041 291.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E8EC9D

    #E8EC9D

    oklch(92.2% 0.1 110.7)

  • #FFE1AE

    #FFE1AE

    oklch(92.2% 0.073 80.7)

  • #C1F6B7

    #C1F6B7

    oklch(92.1% 0.1 140.6)

Open the analogous palette in the generator

Split complementary

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

  • #E8EC9D

    #E8EC9D

    oklch(92.2% 0.1 110.7)

  • #D7E6FF

    #D7E6FF

    oklch(92.1% 0.038 260.7)

  • #F9D9FF

    #F9D9FF

    oklch(92.3% 0.061 320.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E8EC9D

    #E8EC9D

    oklch(92.2% 0.1 110.7)

  • #C7ECFF

    #C7ECFF

    oklch(92.3% 0.046 230.2)

  • #FFD9E9

    #FFD9E9

    oklch(92.2% 0.047 350.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E8EC9D

    #E8EC9D

    oklch(92.2% 0.1 110.7)

  • #94F9FF

    #94F9FF

    oklch(92.3% 0.095 200.6)

  • #E5E1FF

    #E5E1FF

    oklch(92.2% 0.041 291.7)

  • #FFDBDA

    #FFDBDA

    oklch(92.1% 0.04 19.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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