Skip to content

#d2fba6

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

RGB
210, 251, 166
HSL
89°, 91%, 82%
CMYK
16, 0, 34, 2
Luminance
0.8545

Every format

HEX#d2fba6
RGBrgb(210, 251, 166)
HSLhsl(89, 91%, 82%)
CMYKcmyk(16%, 0%, 34%, 2%)
LABlab(94.1 -27.4 36.5)
LCHlch(94.1 45.6 126.8)
OKLCHoklch(0.939 0.117 129.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2fba6 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#d2fba6 on black: 18.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green98.4%
Blue65.1%

CMYK percentages

Cyan16.3%
Magenta0.0%
Yellow33.9%
Key (black)1.6%

Color previews

#d2fba6 text on a black background

contrast 18.09:1

Card sample

#d2fba6 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2fba6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fba6 in the Color Lab