Skip to content

#d2fd97

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

RGB
210, 253, 151
HSL
85°, 96%, 79%
CMYK
17, 0, 40, 1
Luminance
0.8619

Every format

HEX#d2fd97
RGBrgb(210, 253, 151)
HSLhsl(85, 96%, 79%)
CMYKcmyk(17%, 0%, 40%, 1%)
LABlab(94.4 -30.2 44.3)
LCHlch(94.4 53.6 124.3)
OKLCHoklch(0.941 0.137 127.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2fd97 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#d2fd97 on black: 18.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green99.2%
Blue59.2%

CMYK percentages

Cyan17.0%
Magenta0.0%
Yellow40.3%
Key (black)0.8%

Color previews

#d2fd97 text on a black background

contrast 18.24:1

Card sample

#d2fd97 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 253, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 253, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2fd97;
background: linear-gradient(135deg, #d2fd97, #97FDA0);

Monochromatic scale

Palettes built from #d2fd97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fd97 in the Color Lab