Skip to content

#d2f89d

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

RGB
210, 248, 157
HSL
85°, 87%, 79%
CMYK
15, 0, 37, 3
Luminance
0.8327

Every format

HEX#d2f89d
RGBrgb(210, 248, 157)
HSLhsl(85, 87%, 79%)
CMYKcmyk(15%, 0%, 37%, 3%)
LABlab(93.1 -27.1 39.8)
LCHlch(93.1 48.1 124.3)
OKLCHoklch(0.931 0.123 127.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green97.3%
Blue61.6%

CMYK percentages

Cyan15.3%
Magenta0.0%
Yellow36.7%
Key (black)2.7%

Color previews

#d2f89d text on a black background

contrast 17.65:1

Card sample

#d2f89d text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f89d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f89d in the Color Lab