Skip to content

#d2f4af

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

RGB
210, 244, 175
HSL
90°, 76%, 82%
CMYK
14, 0, 28, 4
Luminance
0.8150

Every format

HEX#d2f4af
RGBrgb(210, 244, 175)
HSLhsl(90, 76%, 82%)
CMYKcmyk(14%, 0%, 28%, 4%)
LABlab(92.3 -22.8 29.7)
LCHlch(92.3 37.5 127.5)
OKLCHoklch(0.926 0.097 129.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f4af on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#d2f4af on black: 17.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green95.7%
Blue68.6%

CMYK percentages

Cyan13.9%
Magenta0.0%
Yellow28.3%
Key (black)4.3%

Color previews

#d2f4af text on a black background

contrast 17.30:1

Card sample

#d2f4af text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f4af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f4af in the Color Lab