Skip to content

#d4f3af

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

RGB
212, 243, 175
HSL
87°, 74%, 82%
CMYK
13, 0, 28, 5
Luminance
0.8119

Every format

HEX#d4f3af
RGBrgb(212, 243, 175)
HSLhsl(87, 74%, 82%)
CMYKcmyk(13%, 0%, 28%, 5%)
LABlab(92.2 -21.6 29.6)
LCHlch(92.2 36.6 126.2)
OKLCHoklch(0.925 0.095 128.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green95.3%
Blue68.6%

CMYK percentages

Cyan12.8%
Magenta0.0%
Yellow28.0%
Key (black)4.7%

Color previews

#d4f3af text on a black background

contrast 17.24:1

Card sample

#d4f3af text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4f3af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4f3af in the Color Lab