#D7F2B1

Closest named color: Light Khaki (#E6F2A2). oklch(92.6% 0.089 126.4), rgb(215, 242, 177).

Aa

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

About this color

#D7F2B1 is a very light, moderately saturated green. In OKLCH its lightness is 93%, its chroma 0.089 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Khaki (#E6F2A2), ΔE 0.024 away. Black text reads best on it, at 17.22:1.

Hue familyGreens
Lightnessvery light (93%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameLight Khaki (#E6F2A2)
Black text17.22:1
White text1.21:1

Values

HEX#D7F2B1
RGBrgb(215, 242, 177)
HSLhsl(85, 71%, 82%)
OKLCHoklch(92.6% 0.089 126.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 #D7F2B1 1.21:1 Fails Lc -12.5 Not readable
Black text on #D7F2B1 17.22:1 AAA Lc 92.8 Preferred for body text
#D7F2B1 text on white 1.21:1 Fails Lc 10.8 Not readable
#D7F2B1 text on black 17.22:1 AAA Lc -93.3 Preferred 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 100.

  1. Step 50

    50

    #F3F8ED

    oklch(97.2% 0.015 126.8)

  2. Step 100

    100 (this color)

    #D7F2B1

    oklch(92.6% 0.089 126.4)

  3. Step 200

    200

    #CEE1B4

    oklch(88.4% 0.063 126.3)

  4. Step 300

    300

    #ADCE7B

    oklch(80.8% 0.115 126.5)

  5. Step 400

    400

    #83B300

    oklch(70.6% 0.181 126.5)

  6. Step 500

    500

    #709A00

    oklch(63.2% 0.162 126.5)

  7. Step 600

    600

    #5E8100

    oklch(55.6% 0.142 126.3)

  8. Step 700

    700

    #4E6D00

    oklch(49.2% 0.126 126.7)

  9. Step 800

    800

    #3F5900

    oklch(42.7% 0.11 126.7)

  10. Step 900

    900

    #344A00

    oklch(37.7% 0.097 126.5)

  11. Step 950

    950

    #1E2C00

    oklch(27% 0.069 126.1)

Export this scale for Tailwind in the Tailwind colors tool

#D7F2B1 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)#F9EAAD0.046
Deuteranopia (no green cones)#F5E8B40.047
Tritanopia (no blue cones)#DBECE10.071
Achromatopsia (no color)#E9E9E90.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7F2B1

    #D7F2B1

    oklch(92.6% 0.089 126.4)

  • #EEDFFF

    #EEDFFF

    oklch(92.5% 0.046 306.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7F2B1

    #D7F2B1

    oklch(92.6% 0.089 126.4)

  • #F8E7A2

    #F8E7A2

    oklch(92.6% 0.089 96)

  • #B5F9CE

    #B5F9CE

    oklch(92.5% 0.09 156.4)

Open the analogous palette in the generator

Split complementary

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

  • #D7F2B1

    #D7F2B1

    oklch(92.6% 0.089 126.4)

  • #E0E5FF

    #E0E5FF

    oklch(92.6% 0.036 277)

  • #FFD9F4

    #FFD9F4

    oklch(92.5% 0.055 336.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7F2B1

    #D7F2B1

    oklch(92.6% 0.089 126.4)

  • #D3EAFF

    #D3EAFF

    oklch(92.7% 0.038 245.8)

  • #FFDCE2

    #FFDCE2

    oklch(92.5% 0.04 6.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7F2B1

    #D7F2B1

    oklch(92.6% 0.089 126.4)

  • #BCF1FF

    #BCF1FF

    oklch(92.6% 0.057 215.7)

  • #EEDFFF

    #EEDFFF

    oklch(92.5% 0.046 306.6)

  • #FFDED5

    #FFDED5

    oklch(92.6% 0.039 35.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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