#D8E072

Closest named color: Dull Yellow (#EEDC5B). oklch(87.8% 0.134 112.6), rgb(216, 224, 114).

Aa

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

About this color

#D8E072 is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.134 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dull Yellow (#EEDC5B), ΔE 0.032 away. Black text reads best on it, at 14.82:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameDull Yellow (#EEDC5B)
Black text14.82:1
White text1.41:1

Values

HEX#D8E072
RGBrgb(216, 224, 114)
HSLhsl(64, 64%, 66%)
OKLCHoklch(87.8% 0.134 112.6)

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 #D8E072 1.41:1 Fails Lc -22.8 Dividers and decoration only
Black text on #D8E072 14.82:1 AAA Lc 83.7 Fine for body text
#D8E072 text on white 1.41:1 Fails Lc 20.0 Dividers and decoration only
#D8E072 text on black 14.82:1 AAA Lc -83.4 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

    #F5F7E6

    oklch(97% 0.022 112.3)

  2. Step 100

    100

    #EAEEC8

    oklch(93.6% 0.05 112.2)

  3. Step 200

    200 (this color)

    #D8E072

    oklch(87.8% 0.134 112.6)

  4. Step 300

    300

    #C3CB21

    oklch(80.9% 0.173 112.6)

  5. Step 400

    400

    #A3A900

    oklch(70.6% 0.157 112.3)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  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

    #434600

    oklch(37.9% 0.084 112.5)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#D8E072 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)#EED7680.035
Deuteranopia (no green cones)#EEDA780.036
Tritanopia (no blue cones)#E4D5C70.119
Achromatopsia (no color)#D9D9D90.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8E072

    #D8E072

    oklch(87.8% 0.134 112.6)

  • #D7D0FF

    #D7D0FF

    oklch(87.8% 0.065 291.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8E072

    #D8E072

    oklch(87.8% 0.134 112.6)

  • #FFCF72

    #FFCF72

    oklch(87.8% 0.124 82.5)

  • #A1EE9B

    #A1EE9B

    oklch(87.9% 0.135 142.7)

Open the analogous palette in the generator

Split complementary

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

  • #D8E072

    #D8E072

    oklch(87.8% 0.134 112.6)

  • #C2D8FF

    #C2D8FF

    oklch(87.9% 0.059 261.9)

  • #F8C0FF

    #F8C0FF

    oklch(87.8% 0.104 322.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8E072

    #D8E072

    oklch(87.8% 0.134 112.6)

  • #A7E0FF

    #A7E0FF

    oklch(87.8% 0.072 232.4)

  • #FFC3DB

    #FFC3DB

    oklch(87.8% 0.075 352.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8E072

    #D8E072

    oklch(87.8% 0.134 112.6)

  • #47F1FD

    #47F1FD

    oklch(87.9% 0.135 202.1)

  • #D7D0FF

    #D7D0FF

    oklch(87.8% 0.065 291.8)

  • #FFC7C3

    #FFC7C3

    oklch(87.8% 0.064 23.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D8E072.

Similar named colors

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

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