Skip to content

#d9f4af

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

RGB
217, 244, 175
HSL
84°, 76%, 82%
CMYK
11, 0, 28, 4
Luminance
0.8255

Every format

HEX#d9f4af
RGBrgb(217, 244, 175)
HSLhsl(84, 76%, 82%)
CMYKcmyk(11%, 0%, 28%, 4%)
LABlab(92.8 -20.3 30.4)
LCHlch(92.8 36.6 123.7)
OKLCHoklch(0.931 0.094 125.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9f4af on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#d9f4af on black: 17.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green95.7%
Blue68.6%

CMYK percentages

Cyan11.1%
Magenta0.0%
Yellow28.3%
Key (black)4.3%

Color previews

#d9f4af text on a black background

contrast 17.51:1

Card sample

#d9f4af text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9f4af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9f4af in the Color Lab