#D1E271

Closest named color: Dull Yellow (#EEDC5B). oklch(87.7% 0.14 116.4), rgb(209, 226, 113).

Aa

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

About this color

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

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

Values

HEX#D1E271
RGBrgb(209, 226, 113)
HSLhsl(69, 66%, 66%)
OKLCHoklch(87.7% 0.14 116.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 #D1E271 1.41:1 Fails Lc -22.8 Dividers and decoration only
Black text on #D1E271 14.82:1 AAA Lc 83.7 Fine for body text
#D1E271 text on white 1.41:1 Fails Lc 20.0 Dividers and decoration only
#D1E271 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

    #F4F8E6

    oklch(97.1% 0.024 117)

  2. Step 100

    100

    #E7EFC8

    oklch(93.6% 0.052 116.8)

  3. Step 200

    200 (this color)

    #D1E271

    oklch(87.7% 0.14 116.4)

  4. Step 300

    300

    #BBCE1E

    oklch(80.9% 0.179 116.4)

  5. Step 400

    400

    #9CAC00

    oklch(70.7% 0.162 116.2)

  6. Step 500

    500

    #859300

    oklch(63% 0.144 116.3)

  7. Step 600

    600

    #707C00

    oklch(55.7% 0.128 116.3)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#D1E271 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)#EFD8670.044
Deuteranopia (no green cones)#EEDA770.046
Tritanopia (no blue cones)#DCD7C80.121
Achromatopsia (no color)#D9D9D90.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1E271

    #D1E271

    oklch(87.7% 0.14 116.4)

  • #DACEFF

    #DACEFF

    oklch(87.7% 0.068 296.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1E271

    #D1E271

    oklch(87.7% 0.14 116.4)

  • #FFD05F

    #FFD05F

    oklch(87.8% 0.14 86.5)

  • #96EF9F

    #96EF9F

    oklch(87.6% 0.139 146.6)

Open the analogous palette in the generator

Split complementary

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

  • #D1E271

    #D1E271

    oklch(87.7% 0.14 116.4)

  • #C4D6FF

    #C4D6FF

    oklch(87.6% 0.06 266.5)

  • #FFBCFF

    #FFBCFF

    oklch(87.7% 0.115 326.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1E271

    #D1E271

    oklch(87.7% 0.14 116.4)

  • #ABDEFF

    #ABDEFF

    oklch(87.6% 0.07 237)

  • #FFC3D7

    #FFC3D7

    oklch(87.6% 0.073 356.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1E271

    #D1E271

    oklch(87.7% 0.14 116.4)

  • #5DEDFF

    #5DEDFF

    oklch(87.6% 0.124 206.8)

  • #DACEFF

    #DACEFF

    oklch(87.7% 0.068 296.2)

  • #FFC7C0

    #FFC7C0

    oklch(87.7% 0.065 26.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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