#D5DC97

Closest named color: Light Grey Green (#B7E1A1). oklch(87.3% 0.09 113), rgb(213, 220, 151).

Aa

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

About this color

#D5DC97 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.090 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Grey Green (#B7E1A1), ΔE 0.037 away. Black text reads best on it, at 14.51:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text14.51:1
White text1.44:1

Values

HEX#D5DC97
RGBrgb(213, 220, 151)
HSLhsl(66, 50%, 73%)
OKLCHoklch(87.3% 0.09 113)

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 #D5DC97 1.44:1 Fails Lc -24.2 Dividers and decoration only
Black text on #D5DC97 14.51:1 AAA Lc 82.4 Fine for body text
#D5DC97 text on white 1.44:1 Fails Lc 21.3 Dividers and decoration only
#D5DC97 text on black 14.51:1 AAA Lc -82.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

    #F5F7EB

    oklch(97.1% 0.016 114.4)

  2. Step 100

    100

    #E9EDD4

    oklch(93.6% 0.033 114.4)

  3. Step 200

    200 (this color)

    #D5DC97

    oklch(87.3% 0.09 113)

  4. Step 300

    300

    #C1C96E

    oklch(81% 0.116 113.1)

  5. Step 400

    400

    #A2AA00

    oklch(70.8% 0.158 113.1)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#D5DC97 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)#E6D6920.026
Deuteranopia (no green cones)#E6D79A0.027
Tritanopia (no blue cones)#DDD4CA0.078
Achromatopsia (no color)#D6D6D60.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5DC97

    #D5DC97

    oklch(87.3% 0.09 113)

  • #D6CDFF

    #D6CDFF

    oklch(87.2% 0.069 293.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5DC97

    #D5DC97

    oklch(87.3% 0.09 113)

  • #F2D090

    #F2D090

    oklch(87.2% 0.09 82.8)

  • #B3E5AF

    #B3E5AF

    oklch(87.3% 0.09 142.9)

Open the analogous palette in the generator

Split complementary

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

  • #D5DC97

    #D5DC97

    oklch(87.3% 0.09 113)

  • #C0D6FF

    #C0D6FF

    oklch(87.3% 0.062 262.9)

  • #F2C2F8

    #F2C2F8

    oklch(87.3% 0.089 322.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5DC97

    #D5DC97

    oklch(87.3% 0.09 113)

  • #A4DEFF

    #A4DEFF

    oklch(87.2% 0.075 233.7)

  • #FFC1DA

    #FFC1DA

    oklch(87.4% 0.077 352.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5DC97

    #D5DC97

    oklch(87.3% 0.09 113)

  • #8AE7EF

    #8AE7EF

    oklch(87.3% 0.089 202.8)

  • #D6CDFF

    #D6CDFF

    oklch(87.2% 0.069 293.2)

  • #FFC4C0

    #FFC4C0

    oklch(87.2% 0.068 23)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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