Skip to content

#d2f8af

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

RGB
210, 248, 175
HSL
91°, 84%, 83%
CMYK
15, 0, 29, 3
Luminance
0.8393

Every format

HEX#d2f8af
RGBrgb(210, 248, 175)
HSLhsl(91, 84%, 83%)
CMYKcmyk(15%, 0%, 29%, 3%)
LABlab(93.4 -24.7 31.2)
LCHlch(93.4 39.8 128.4)
OKLCHoklch(0.934 0.103 130.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f8af on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#d2f8af on black: 17.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green97.3%
Blue68.6%

CMYK percentages

Cyan15.3%
Magenta0.0%
Yellow29.4%
Key (black)2.7%

Color previews

#d2f8af text on a black background

contrast 17.79:1

Card sample

#d2f8af text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f8af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f8af in the Color Lab