#D7E2AF

Closest named color: Tea Green (#CAE7B9). oklch(89.2% 0.068 117.7), rgb(215, 226, 175).

Aa

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

About this color

#D7E2AF is a light, muted yellow. In OKLCH its lightness is 89%, its chroma 0.068 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tea Green (#CAE7B9), ΔE 0.020 away. Black text reads best on it, at 15.38:1.

Hue familyYellows
Lightnesslight (89%)
Chromamuted (0.068)
Temperaturein between
Nearest nameTea Green (#CAE7B9)
Black text15.38:1
White text1.36:1

Values

HEX#D7E2AF
RGBrgb(215, 226, 175)
HSLhsl(73, 47%, 79%)
OKLCHoklch(89.2% 0.068 117.7)

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 #D7E2AF 1.36:1 Fails Lc -20.4 Dividers and decoration only
Black text on #D7E2AF 15.38:1 AAA Lc 85.8 Fine for body text
#D7E2AF text on white 1.36:1 Fails Lc 17.8 Dividers and decoration only
#D7E2AF text on black 15.38:1 AAA Lc -85.7 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

    #F5F7EE

    oklch(97.2% 0.012 116.8)

  2. Step 100

    100

    #E8ECDA

    oklch(93.5% 0.024 117)

  3. Step 200

    200 (this color)

    #D7E2AF

    oklch(89.2% 0.068 117.7)

  4. Step 300

    300

    #BBC987

    oklch(80.9% 0.089 118.2)

  5. Step 400

    400

    #9AAC37

    oklch(70.8% 0.141 117.7)

  6. Step 500

    500

    #839400

    oklch(63.1% 0.146 117.6)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5500

    oklch(42.6% 0.098 117.3)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#D7E2AF 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)#E9DCAC0.027
Deuteranopia (no green cones)#E8DDB10.026
Tritanopia (no blue cones)#DCDCD40.058
Achromatopsia (no color)#DCDCDC0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7E2AF

    #D7E2AF

    oklch(89.2% 0.068 117.7)

  • #DFD3FF

    #DFD3FF

    oklch(89% 0.061 297.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7E2AF

    #D7E2AF

    oklch(89.2% 0.068 117.7)

  • #EED9A8

    #EED9A8

    oklch(89.1% 0.068 87.5)

  • #BEE8C2

    #BEE8C2

    oklch(89.1% 0.068 147.6)

Open the analogous palette in the generator

Split complementary

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

  • #D7E2AF

    #D7E2AF

    oklch(89.2% 0.068 117.7)

  • #CCDBFF

    #CCDBFF

    oklch(89.2% 0.052 267.4)

  • #F5CCF3

    #F5CCF3

    oklch(89.2% 0.069 327.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7E2AF

    #D7E2AF

    oklch(89.2% 0.068 117.7)

  • #B7E2FF

    #B7E2FF

    oklch(89.2% 0.06 237.9)

  • #FFCBDB

    #FFCBDB

    oklch(89.2% 0.062 358.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7E2AF

    #D7E2AF

    oklch(89.2% 0.068 117.7)

  • #A6E9F3

    #A6E9F3

    oklch(89.3% 0.068 207.6)

  • #DFD3FF

    #DFD3FF

    oklch(89% 0.061 297.6)

  • #FFCEC7

    #FFCEC7

    oklch(89.2% 0.057 27.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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