Skip to content

#d2f4ab

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

RGB
210, 244, 171
HSL
88°, 77%, 81%
CMYK
14, 0, 30, 4
Luminance
0.8134

Every format

HEX#d2f4ab
RGBrgb(210, 244, 171)
HSLhsl(88, 77%, 81%)
CMYKcmyk(14%, 0%, 30%, 4%)
LABlab(92.3 -23.4 31.6)
LCHlch(92.3 39.3 126.4)
OKLCHoklch(0.925 0.102 128.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f4ab on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#d2f4ab on black: 17.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green95.7%
Blue67.1%

CMYK percentages

Cyan13.9%
Magenta0.0%
Yellow29.9%
Key (black)4.3%

Color previews

#d2f4ab text on a black background

contrast 17.27:1

Card sample

#d2f4ab text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f4ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f4ab in the Color Lab