Skip to content

#d2feb2

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

RGB
210, 254, 178
HSL
95°, 97%, 85%
CMYK
17, 0, 30, 0
Luminance
0.8780

Every format

HEX#d2feb2
RGBrgb(210, 254, 178)
HSLhsl(95, 97%, 85%)
CMYKcmyk(17%, 0%, 30%, 0%)
LABlab(95.1 -27.1 31.9)
LCHlch(95.1 41.9 130.4)
OKLCHoklch(0.948 0.109 132.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2feb2 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#d2feb2 on black: 18.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green99.6%
Blue69.8%

CMYK percentages

Cyan17.3%
Magenta0.0%
Yellow29.9%
Key (black)0.4%

Color previews

#d2feb2 text on a black background

contrast 18.56:1

Card sample

#d2feb2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2feb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2feb2 in the Color Lab