Skip to content

#d2f39f

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

RGB
210, 243, 159
HSL
84°, 78%, 79%
CMYK
14, 0, 35, 5
Luminance
0.8031

Every format

HEX#d2f39f
RGBrgb(210, 243, 159)
HSLhsl(84, 78%, 79%)
CMYKcmyk(14%, 0%, 35%, 5%)
LABlab(91.8 -24.5 37.1)
LCHlch(91.8 44.4 123.5)
OKLCHoklch(0.921 0.114 126.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f39f on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#d2f39f on black: 17.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green95.3%
Blue62.4%

CMYK percentages

Cyan13.6%
Magenta0.0%
Yellow34.6%
Key (black)4.7%

Color previews

#d2f39f text on a black background

contrast 17.06:1

Card sample

#d2f39f text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f39f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f39f in the Color Lab