Skip to content

#d4df9e

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

RGB
212, 223, 158
HSL
70°, 50%, 75%
CMYK
5, 0, 29, 13
Luminance
0.6924

Every format

HEX#d4df9e
RGBrgb(212, 223, 158)
HSLhsl(70, 50%, 75%)
CMYKcmyk(5%, 0%, 29%, 13%)
LABlab(86.6 -14.1 30.7)
LCHlch(86.6 33.8 114.7)
OKLCHoklch(0.880 0.086 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4df9e on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#d4df9e on black: 14.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green87.5%
Blue62.0%

CMYK percentages

Cyan4.9%
Magenta0.0%
Yellow29.1%
Key (black)12.5%

Color previews

#d4df9e text on a black background

contrast 14.85:1

Card sample

#d4df9e text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4df9e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4df9e in the Color Lab