#D2F2AF

Closest named color: Light Khaki (#E6F2A2). oklch(92.2% 0.094 128.9), rgb(210, 242, 175).

Aa

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

About this color

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

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

Values

HEX#D2F2AF
RGBrgb(210, 242, 175)
HSLhsl(89, 72%, 82%)
OKLCHoklch(92.2% 0.094 128.9)

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 #D2F2AF 1.23:1 Fails Lc -13.2 Not readable
Black text on #D2F2AF 17.06:1 AAA Lc 92.2 Preferred for body text
#D2F2AF text on white 1.23:1 Fails Lc 11.4 Not readable
#D2F2AF text on black 17.06:1 AAA Lc -92.7 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

    #F2F8EC

    oklch(97.1% 0.017 128.7)

  2. Step 100

    100 (this color)

    #D2F2AF

    oklch(92.2% 0.094 128.9)

  3. Step 200

    200

    #CCE2B4

    oklch(88.5% 0.066 128.5)

  4. Step 300

    300

    #A9D07A

    oklch(81% 0.121 128.7)

  5. Step 400

    400

    #7CB500

    oklch(70.7% 0.187 128.7)

  6. Step 500

    500

    #699B00

    oklch(63% 0.167 128.9)

  7. Step 600

    600

    #588300

    oklch(55.7% 0.148 128.9)

  8. Step 700

    700

    #496E00

    oklch(49.1% 0.13 129)

  9. Step 800

    800

    #3B5A00

    oklch(42.7% 0.113 129)

  10. Step 900

    900

    #314B00

    oklch(37.7% 0.1 128.7)

  11. Step 950

    950

    #1B2D00

    oklch(27.1% 0.072 129.3)

Export this scale for Tailwind in the Tailwind colors tool

#D2F2AF 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)#F9E9AB0.053
Deuteranopia (no green cones)#F4E7B20.052
Tritanopia (no blue cones)#D5ECE00.072
Achromatopsia (no color)#E7E7E70.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2F2AF

    #D2F2AF

    oklch(92.2% 0.094 128.9)

  • #EFDDFF

    #EFDDFF

    oklch(92.2% 0.049 309.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2F2AF

    #D2F2AF

    oklch(92.2% 0.094 128.9)

  • #F5E79D

    #F5E79D

    oklch(92.2% 0.094 98.8)

  • #AFF9CE

    #AFF9CE

    oklch(92.2% 0.094 158.4)

Open the analogous palette in the generator

Split complementary

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

  • #D2F2AF

    #D2F2AF

    oklch(92.2% 0.094 128.9)

  • #DFE3FF

    #DFE3FF

    oklch(92.1% 0.038 279.2)

  • #FFD8F2

    #FFD8F2

    oklch(92.3% 0.055 338.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2F2AF

    #D2F2AF

    oklch(92.2% 0.094 128.9)

  • #D2E8FF

    #D2E8FF

    oklch(92.2% 0.039 249.4)

  • #FFDBDF

    #FFDBDF

    oklch(92.3% 0.04 10.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2F2AF

    #D2F2AF

    oklch(92.2% 0.094 128.9)

  • #BCEFFF

    #BCEFFF

    oklch(92.2% 0.056 219)

  • #EFDDFF

    #EFDDFF

    oklch(92.2% 0.049 309.1)

  • #FFDCD1

    #FFDCD1

    oklch(92.1% 0.042 38.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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