#D2F18D

Closest named color: Pistachio (#C0FA8B). oklch(91.4% 0.13 123.1), rgb(210, 241, 141).

Aa

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

About this color

#D2F18D is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.130 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.031 away. Black text reads best on it, at 16.70:1.

Hue familyYellows
Lightnessvery light (91%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.70:1
White text1.25:1

Values

HEX#D2F18D
RGBrgb(210, 241, 141)
HSLhsl(79, 78%, 75%)
OKLCHoklch(91.4% 0.13 123.1)

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 #D2F18D 1.25:1 Fails Lc -14.7 Not readable
Black text on #D2F18D 16.70:1 AAA Lc 90.9 Preferred for body text
#D2F18D text on white 1.25:1 Fails Lc 12.7 Not readable
#D2F18D text on black 16.70:1 AAA Lc -91.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

    #F2F8E8

    oklch(97% 0.022 123.6)

  2. Step 100

    100 (this color)

    #D2F18D

    oklch(91.4% 0.13 123.1)

  3. Step 200

    200

    #CDE49F

    oklch(88.5% 0.094 123.3)

  4. Step 300

    300

    #ACD147

    oklch(80.8% 0.167 123.1)

  5. Step 400

    400

    #8DB100

    oklch(70.8% 0.174 123)

  6. Step 500

    500

    #789700

    oklch(63% 0.154 123)

  7. Step 600

    600

    #657F00

    oklch(55.6% 0.136 122.8)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  10. Step 900

    900

    #384900

    oklch(37.7% 0.093 123.4)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#D2F18D 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)#FCE6850.058
Deuteranopia (no green cones)#F7E5920.058
Tritanopia (no blue cones)#D9E8D90.107
Achromatopsia (no color)#E5E5E50.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2F18D

    #D2F18D

    oklch(91.4% 0.13 123.1)

  • #E9DBFF

    #E9DBFF

    oklch(91.4% 0.051 303.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2F18D

    #D2F18D

    oklch(91.4% 0.13 123.1)

  • #FFE17C

    #FFE17C

    oklch(91.4% 0.125 93.2)

  • #9BFCB9

    #9BFCB9

    oklch(91.4% 0.131 153)

Open the analogous palette in the generator

Split complementary

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

  • #D2F18D

    #D2F18D

    oklch(91.4% 0.13 123.1)

  • #D9E1FF

    #D9E1FF

    oklch(91.3% 0.042 273.7)

  • #FFD2F6

    #FFD2F6

    oklch(91.3% 0.068 333.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2F18D

    #D2F18D

    oklch(91.4% 0.13 123.1)

  • #C9E7FF

    #C9E7FF

    oklch(91.4% 0.046 242.3)

  • #FFD6DF

    #FFD6DF

    oklch(91.3% 0.047 3.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2F18D

    #D2F18D

    oklch(91.4% 0.13 123.1)

  • #ABF0FF

    #ABF0FF

    oklch(91.4% 0.071 212.7)

  • #E9DBFF

    #E9DBFF

    oklch(91.4% 0.051 303.1)

  • #FFD8D0

    #FFD8D0

    oklch(91.3% 0.045 31.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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