Skip to content

#d2fbab

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

RGB
210, 251, 171
HSL
91°, 91%, 83%
CMYK
16, 0, 32, 2
Luminance
0.8564

Every format

HEX#d2fbab
RGBrgb(210, 251, 171)
HSLhsl(91, 91%, 83%)
CMYKcmyk(16%, 0%, 32%, 2%)
LABlab(94.2 -26.7 34.1)
LCHlch(94.2 43.3 128.0)
OKLCHoklch(0.940 0.112 130.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green98.4%
Blue67.1%

CMYK percentages

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

Color previews

#d2fbab text on a black background

contrast 18.13:1

Card sample

#d2fbab text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2fbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fbab in the Color Lab