Skip to content

#d2fcb2

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

RGB
210, 252, 178
HSL
94°, 93%, 84%
CMYK
17, 0, 29, 1
Luminance
0.8654

Every format

HEX#d2fcb2
RGBrgb(210, 252, 178)
HSLhsl(94, 93%, 84%)
CMYKcmyk(17%, 0%, 29%, 1%)
LABlab(94.5 -26.2 31.2)
LCHlch(94.5 40.7 130.0)
OKLCHoklch(0.944 0.106 132.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green98.8%
Blue69.8%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow29.4%
Key (black)1.2%

Color previews

#d2fcb2 text on a black background

contrast 18.31:1

Card sample

#d2fcb2 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2fcb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fcb2 in the Color Lab