Skip to content

#d2f1b1

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

RGB
210, 241, 177
HSL
89°, 70%, 82%
CMYK
13, 0, 27, 6
Luminance
0.7979

Every format

HEX#d2f1b1
RGBrgb(210, 241, 177)
HSLhsl(89, 70%, 82%)
CMYKcmyk(13%, 0%, 27%, 6%)
LABlab(91.6 -21.1 27.7)
LCHlch(91.6 34.8 127.3)
OKLCHoklch(0.920 0.090 129.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f1b1 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#d2f1b1 on black: 16.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green94.5%
Blue69.4%

CMYK percentages

Cyan12.9%
Magenta0.0%
Yellow26.6%
Key (black)5.5%

Color previews

#d2f1b1 text on a black background

contrast 16.96:1

Card sample

#d2f1b1 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f1b1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f1b1 in the Color Lab