#D7F1AF

Closest named color: Light Khaki (#E6F2A2). oklch(92.3% 0.09 125.6), rgb(215, 241, 175).

Aa

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

About this color

#D7F1AF is a very light, moderately saturated green. In OKLCH its lightness is 92%, its chroma 0.090 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.09:1.

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

Values

HEX#D7F1AF
RGBrgb(215, 241, 175)
HSLhsl(84, 70%, 82%)
OKLCHoklch(92.3% 0.09 125.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 #D7F1AF 1.22:1 Fails Lc -13.1 Not readable
Black text on #D7F1AF 17.09:1 AAA Lc 92.3 Preferred for body text
#D7F1AF text on white 1.22:1 Fails Lc 11.3 Not readable
#D7F1AF text on black 17.09:1 AAA Lc -92.8 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

    #F3F7EC

    oklch(97% 0.015 123)

  2. Step 100

    100 (this color)

    #D7F1AF

    oklch(92.3% 0.09 125.6)

  3. Step 200

    200

    #CFE1B3

    oklch(88.4% 0.064 125.1)

  4. Step 300

    300

    #AFCE79

    oklch(80.9% 0.116 125.3)

  5. Step 400

    400

    #86B300

    oklch(70.8% 0.179 125.6)

  6. Step 500

    500

    #729900

    oklch(63.1% 0.16 125.6)

  7. Step 600

    600

    #608100

    oklch(55.7% 0.141 125.5)

  8. Step 700

    700

    #506C00

    oklch(49.1% 0.124 125.4)

  9. Step 800

    800

    #415900

    oklch(42.8% 0.109 125.6)

  10. Step 900

    900

    #354A00

    oklch(37.7% 0.096 125.9)

  11. Step 950

    950

    #1E2C00

    oklch(27% 0.069 126.1)

Export this scale for Tailwind in the Tailwind colors tool

#D7F1AF 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)#F8E9AB0.045
Deuteranopia (no green cones)#F5E7B20.047
Tritanopia (no blue cones)#DBEBDF0.071
Achromatopsia (no color)#E8E8E80.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7F1AF

    #D7F1AF

    oklch(92.3% 0.09 125.6)

  • #EDDEFF

    #EDDEFF

    oklch(92.3% 0.047 306)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7F1AF

    #D7F1AF

    oklch(92.3% 0.09 125.6)

  • #F8E6A0

    #F8E6A0

    oklch(92.4% 0.091 95.4)

  • #B5F8CC

    #B5F8CC

    oklch(92.3% 0.09 155.5)

Open the analogous palette in the generator

Split complementary

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

  • #D7F1AF

    #D7F1AF

    oklch(92.3% 0.09 125.6)

  • #DEE4FF

    #DEE4FF

    oklch(92.3% 0.037 275.7)

  • #FFD8F5

    #FFD8F5

    oklch(92.3% 0.057 335.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7F1AF

    #D7F1AF

    oklch(92.3% 0.09 125.6)

  • #D1E9FF

    #D1E9FF

    oklch(92.3% 0.039 245.9)

  • #FFDBE1

    #FFDBE1

    oklch(92.3% 0.041 6.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7F1AF

    #D7F1AF

    oklch(92.3% 0.09 125.6)

  • #B9F0FF

    #B9F0FF

    oklch(92.2% 0.059 216.3)

  • #EDDEFF

    #EDDEFF

    oklch(92.3% 0.047 306)

  • #FFDDD4

    #FFDDD4

    oklch(92.3% 0.04 35.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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