Skip to content

#d2f29d

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

RGB
210, 242, 157
HSL
83°, 77%, 78%
CMYK
13, 0, 35, 5
Luminance
0.7964

Every format

HEX#d2f29d
RGBrgb(210, 242, 157)
HSLhsl(83, 77%, 78%)
CMYKcmyk(13%, 0%, 35%, 5%)
LABlab(91.5 -24.3 37.7)
LCHlch(91.5 44.8 122.8)
OKLCHoklch(0.918 0.114 125.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f29d on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#d2f29d on black: 16.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green94.9%
Blue61.6%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow35.1%
Key (black)5.1%

Color previews

#d2f29d text on a black background

contrast 16.93:1

Card sample

#d2f29d text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 242, 157, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 242, 157, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2f29d;
background: linear-gradient(135deg, #d2f29d, #9DF2A1);

Monochromatic scale

Palettes built from #d2f29d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f29d in the Color Lab