Skip to content

#d2f1ad

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

RGB
210, 241, 173
HSL
87°, 71%, 81%
CMYK
13, 0, 28, 6
Luminance
0.7963

Every format

HEX#d2f1ad
RGBrgb(210, 241, 173)
HSLhsl(87, 71%, 81%)
CMYKcmyk(13%, 0%, 28%, 6%)
LABlab(91.5 -21.6 29.6)
LCHlch(91.5 36.7 126.1)
OKLCHoklch(0.919 0.095 128.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green94.5%
Blue67.8%

CMYK percentages

Cyan12.9%
Magenta0.0%
Yellow28.2%
Key (black)5.5%

Color previews

#d2f1ad text on a black background

contrast 16.93:1

Card sample

#d2f1ad text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f1ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f1ad in the Color Lab