#D8EC9C

Closest named color: Light Khaki (#E6F2A2). oklch(91% 0.105 119.9), rgb(216, 236, 156).

Aa

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

About this color

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

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

Values

HEX#D8EC9C
RGBrgb(216, 236, 156)
HSLhsl(75, 68%, 77%)
OKLCHoklch(91% 0.105 119.9)

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 #D8EC9C 1.28:1 Fails Lc -16.0 Dividers and decoration only
Black text on #D8EC9C 16.39:1 AAA Lc 89.7 Fine for body text
#D8EC9C text on white 1.28:1 Fails Lc 13.9 Not readable
#D8EC9C text on black 16.39:1 AAA Lc -90.0 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

    #F4F7EA

    oklch(97% 0.017 117.3)

  2. Step 100

    100

    #E6EED1

    oklch(93.5% 0.039 119.7)

  3. Step 200

    200 (this color)

    #D8EC9C

    oklch(91% 0.105 119.9)

  4. Step 300

    300

    #B6CD64

    oklch(80.9% 0.134 119.7)

  5. Step 400

    400

    #94AE00

    oklch(70.6% 0.167 119.8)

  6. Step 500

    500

    #7F9500

    oklch(63% 0.149 119.6)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232B00

    oklch(27.2% 0.064 120)

Export this scale for Tailwind in the Tailwind colors tool

#D8EC9C 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)#F6E3960.043
Deuteranopia (no green cones)#F3E4A00.042
Tritanopia (no blue cones)#DFE4D80.088
Achromatopsia (no color)#E3E3E30.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8EC9C

    #D8EC9C

    oklch(91% 0.105 119.9)

  • #E6DAFF

    #E6DAFF

    oklch(90.9% 0.051 300.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8EC9C

    #D8EC9C

    oklch(91% 0.105 119.9)

  • #FCDF8E

    #FCDF8E

    oklch(91% 0.105 90.5)

  • #AFF5BC

    #AFF5BC

    oklch(90.9% 0.104 149.7)

Open the analogous palette in the generator

Split complementary

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

  • #D8EC9C

    #D8EC9C

    oklch(91% 0.105 119.9)

  • #D6E1FF

    #D6E1FF

    oklch(91.1% 0.043 269.6)

  • #FFD0FA

    #FFD0FA

    oklch(91.1% 0.076 329.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8EC9C

    #D8EC9C

    oklch(91% 0.105 119.9)

  • #C5E6FF

    #C5E6FF

    oklch(90.9% 0.049 240.8)

  • #FFD4E0

    #FFD4E0

    oklch(91% 0.05 359.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8EC9C

    #D8EC9C

    oklch(91% 0.105 119.9)

  • #A0F1FF

    #A0F1FF

    oklch(91.1% 0.081 209.5)

  • #E6DAFF

    #E6DAFF

    oklch(90.9% 0.051 300.2)

  • #FFD6CF

    #FFD6CF

    oklch(90.9% 0.047 29.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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