Skip to content

#d4fbaf

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

RGB
212, 251, 175
HSL
91°, 91%, 84%
CMYK
16, 0, 30, 2
Luminance
0.8609

Every format

HEX#d4fbaf
RGBrgb(212, 251, 175)
HSLhsl(91, 91%, 84%)
CMYKcmyk(16%, 0%, 30%, 2%)
LABlab(94.3 -25.4 32.4)
LCHlch(94.3 41.2 128.1)
OKLCHoklch(0.942 0.107 130.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green98.4%
Blue68.6%

CMYK percentages

Cyan15.5%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#d4fbaf text on a black background

contrast 18.22:1

Card sample

#d4fbaf text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4fbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4fbaf in the Color Lab