Skip to content

#d2fe7f

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

RGB
210, 254, 127
HSL
81°, 98%, 75%
CMYK
17, 0, 50, 0
Luminance
0.8612

Every format

HEX#d2fe7f
RGBrgb(210, 254, 127)
HSLhsl(81, 98%, 75%)
CMYKcmyk(17%, 0%, 50%, 0%)
LABlab(94.4 -33.3 55.6)
LCHlch(94.4 64.8 120.9)
OKLCHoklch(0.940 0.162 125.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green99.6%
Blue49.8%

CMYK percentages

Cyan17.3%
Magenta0.0%
Yellow50.0%
Key (black)0.4%

Color previews

#d2fe7f text on a black background

contrast 18.22:1

Card sample

#d2fe7f text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 254, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 254, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2fe7f;
background: linear-gradient(135deg, #d2fe7f, #7FFE81);

Monochromatic scale

Palettes built from #d2fe7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fe7f in the Color Lab