Skip to content

#d2f7ae

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

RGB
210, 247, 174
HSL
90°, 82%, 83%
CMYK
15, 0, 30, 3
Luminance
0.8328

Every format

HEX#d2f7ae
RGBrgb(210, 247, 174)
HSLhsl(90, 82%, 83%)
CMYKcmyk(15%, 0%, 30%, 3%)
LABlab(93.1 -24.4 31.3)
LCHlch(93.1 39.6 127.9)
OKLCHoklch(0.932 0.103 130.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f7ae on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#d2f7ae on black: 17.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green96.9%
Blue68.2%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow29.6%
Key (black)3.1%

Color previews

#d2f7ae text on a black background

contrast 17.66:1

Card sample

#d2f7ae text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f7ae

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f7ae in the Color Lab