Skip to content

#d2f2ae

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

RGB
210, 242, 174
HSL
88°, 72%, 82%
CMYK
13, 0, 28, 5
Luminance
0.8026

Every format

HEX#d2f2ae
RGBrgb(210, 242, 174)
HSLhsl(88, 72%, 82%)
CMYKcmyk(13%, 0%, 28%, 5%)
LABlab(91.8 -22.0 29.5)
LCHlch(91.8 36.8 126.7)
OKLCHoklch(0.921 0.095 128.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f2ae on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#d2f2ae on black: 17.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green94.9%
Blue68.2%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow28.1%
Key (black)5.1%

Color previews

#d2f2ae text on a black background

contrast 17.05:1

Card sample

#d2f2ae text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f2ae

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f2ae in the Color Lab