Skip to content

#d2f89f

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

RGB
210, 248, 159
HSL
86°, 86%, 80%
CMYK
15, 0, 36, 3
Luminance
0.8334

Every format

HEX#d2f89f
RGBrgb(210, 248, 159)
HSLhsl(86, 86%, 80%)
CMYKcmyk(15%, 0%, 36%, 3%)
LABlab(93.2 -26.9 38.8)
LCHlch(93.2 47.2 124.7)
OKLCHoklch(0.932 0.121 127.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f89f on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#d2f89f on black: 17.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green97.3%
Blue62.4%

CMYK percentages

Cyan15.3%
Magenta0.0%
Yellow35.9%
Key (black)2.7%

Color previews

#d2f89f text on a black background

contrast 17.67:1

Card sample

#d2f89f text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f89f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f89f in the Color Lab