#D3E172

Closest named color: Dull Yellow (#EEDC5B). oklch(87.6% 0.137 115.2), rgb(211, 225, 114).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameDull Yellow (#EEDC5B)
Black text14.78:1
White text1.42:1

Values

HEX#D3E172
RGBrgb(211, 225, 114)
HSLhsl(68, 65%, 66%)
OKLCHoklch(87.6% 0.137 115.2)

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 #D3E172 1.42:1 Fails Lc -23.0 Dividers and decoration only
Black text on #D3E172 14.78:1 AAA Lc 83.5 Fine for body text
#D3E172 text on white 1.42:1 Fails Lc 20.2 Dividers and decoration only
#D3E172 text on black 14.78:1 AAA Lc -83.2 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

    #F4F8E6

    oklch(97.1% 0.024 117)

  2. Step 100

    100

    #E8EFC8

    oklch(93.7% 0.052 115.7)

  3. Step 200

    200 (this color)

    #D3E172

    oklch(87.6% 0.137 115.2)

  4. Step 300

    300

    #BDCD22

    oklch(80.9% 0.176 115.4)

  5. Step 400

    400

    #9EAB00

    oklch(70.7% 0.16 115.1)

  6. Step 500

    500

    #879300

    oklch(63.2% 0.144 115.4)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5500

    oklch(42.8% 0.097 115.1)

  10. Step 900

    900

    #404600

    oklch(37.6% 0.085 115.2)

  11. Step 950

    950

    #262A00

    oklch(27.2% 0.062 115.2)

Export this scale for Tailwind in the Tailwind colors tool

#D3E172 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)#EED8680.040
Deuteranopia (no green cones)#EDD9780.042
Tritanopia (no blue cones)#DED6C80.120
Achromatopsia (no color)#D8D8D80.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #D3E172

    #D3E172

    oklch(87.6% 0.137 115.2)

  • #D9CEFF

    #D9CEFF

    oklch(87.6% 0.068 295.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D3E172

    #D3E172

    oklch(87.6% 0.137 115.2)

  • #FFCF63

    #FFCF63

    oklch(87.6% 0.136 85.2)

  • #9AEE9E

    #9AEE9E

    oklch(87.6% 0.136 145.4)

Open the analogous palette in the generator

Split complementary

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

  • #D3E172

    #D3E172

    oklch(87.6% 0.137 115.2)

  • #C3D6FF

    #C3D6FF

    oklch(87.5% 0.061 265.6)

  • #FCBDFF

    #FCBDFF

    oklch(87.6% 0.111 325)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D3E172

    #D3E172

    oklch(87.6% 0.137 115.2)

  • #A9DFFF

    #A9DFFF

    oklch(87.7% 0.071 234.7)

  • #FFC3D8

    #FFC3D8

    oklch(87.7% 0.073 355.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D3E172

    #D3E172

    oklch(87.6% 0.137 115.2)

  • #52EFFF

    #52EFFF

    oklch(87.7% 0.13 204.9)

  • #D9CEFF

    #D9CEFF

    oklch(87.6% 0.068 295.3)

  • #FFC6C0

    #FFC6C0

    oklch(87.6% 0.066 25.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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