Skip to content

#d2f9af

a light, electric green · cool · closest name: khaki

RGB
210, 249, 175
HSL
92°, 86%, 83%
CMYK
16, 0, 30, 2
Luminance
0.8455

Every format

HEX#d2f9af
RGBrgb(210, 249, 175)
HSLhsl(92, 86%, 83%)
CMYKcmyk(16%, 0%, 30%, 2%)
LABlab(93.7 -25.2 31.5)
LCHlch(93.7 40.3 128.6)
OKLCHoklch(0.937 0.104 130.8)

Copy-ready code

/* CSS */
color: #d2f9af;
background-color: #d2f9af;
/* Tailwind (arbitrary) */
class="text-[#d2f9af] bg-[#d2f9af]"
/* SCSS */
$brand: #d2f9af;
/* SwiftUI */
Color(red: 0.824, green: 0.976, blue: 0.686)
/* Android */
Color.parseColor("#d2f9af")

Accessibility — WCAG contrast

Aa
#d2f9af on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#d2f9af on black: 17.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green97.6%
Blue68.6%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow29.7%
Key (black)2.4%

Color previews

#d2f9af text on a black background

contrast 17.91:1

Card sample

#d2f9af text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d2f9af;
Background color
Panel with #d2f9af background
background-color: #d2f9af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d2f9af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(210, 249, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 249, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2f9af;
background: linear-gradient(135deg, #d2f9af, #AFF9BD);

Monochromatic scale

Palettes built from #d2f9af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f9af in the Color Lab