Skip to content

#d4fbab

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

RGB
212, 251, 171
HSL
89°, 91%, 83%
CMYK
16, 0, 32, 2
Luminance
0.8593

Every format

HEX#d4fbab
RGBrgb(212, 251, 171)
HSLhsl(89, 91%, 83%)
CMYKcmyk(16%, 0%, 32%, 2%)
LABlab(94.3 -26.0 34.3)
LCHlch(94.3 43.1 127.1)
OKLCHoklch(0.942 0.111 129.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4fbab on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#d4fbab on black: 18.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green98.4%
Blue67.1%

CMYK percentages

Cyan15.5%
Magenta0.0%
Yellow31.9%
Key (black)1.6%

Color previews

#d4fbab text on a black background

contrast 18.19:1

Card sample

#d4fbab text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4fbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4fbab in the Color Lab