#D5ED97

Closest named color: Light Khaki (#E6F2A2). oklch(90.9% 0.113 121.4), rgb(213, 237, 151).

Aa

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

About this color

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

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

Values

HEX#D5ED97
RGBrgb(213, 237, 151)
HSLhsl(77, 70%, 76%)
OKLCHoklch(90.9% 0.113 121.4)

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

    #F3F8EA

    oklch(97.2% 0.019 122.8)

  2. Step 100

    100

    #E5EFD0

    oklch(93.6% 0.042 121.8)

  3. Step 200

    200 (this color)

    #D5ED97

    oklch(90.9% 0.113 121.4)

  4. Step 300

    300

    #B2CF5C

    oklch(80.9% 0.145 121.5)

  5. Step 400

    400

    #91B000

    oklch(70.8% 0.171 121.5)

  6. Step 500

    500

    #7C9600

    oklch(63% 0.151 121.2)

  7. Step 600

    600

    #687E00

    oklch(55.5% 0.133 121.1)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475700

    oklch(42.8% 0.103 121.1)

  10. Step 900

    900

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#D5ED97 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)#F7E4910.048
Deuteranopia (no green cones)#F4E39B0.049
Tritanopia (no blue cones)#DCE5D70.092
Achromatopsia (no color)#E3E3E30.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5ED97

    #D5ED97

    oklch(90.9% 0.113 121.4)

  • #E7D9FF

    #E7D9FF

    oklch(90.8% 0.053 302.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5ED97

    #D5ED97

    oklch(90.9% 0.113 121.4)

  • #FCDF86

    #FCDF86

    oklch(90.9% 0.113 91.9)

  • #A8F7BB

    #A8F7BB

    oklch(90.9% 0.113 151.2)

Open the analogous palette in the generator

Split complementary

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

  • #D5ED97

    #D5ED97

    oklch(90.9% 0.113 121.4)

  • #D6E0FF

    #D6E0FF

    oklch(90.9% 0.044 271.3)

  • #FFCFF8

    #FFCFF8

    oklch(90.8% 0.075 331.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5ED97

    #D5ED97

    oklch(90.9% 0.113 121.4)

  • #C5E6FF

    #C5E6FF

    oklch(90.9% 0.049 240.8)

  • #FFD4DF

    #FFD4DF

    oklch(91% 0.05 1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5ED97

    #D5ED97

    oklch(90.9% 0.113 121.4)

  • #A2F0FF

    #A2F0FF

    oklch(91% 0.079 210.9)

  • #E7D9FF

    #E7D9FF

    oklch(90.8% 0.053 302.1)

  • #FFD6CE

    #FFD6CE

    oklch(90.9% 0.047 30.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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