Skip to content

#c4df9c

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

RGB
196, 223, 156
HSL
84°, 51%, 74%
CMYK
12, 0, 30, 13
Luminance
0.6691

Every format

HEX#c4df9c
RGBrgb(196, 223, 156)
HSLhsl(84, 51%, 74%)
CMYKcmyk(12%, 0%, 30%, 13%)
LABlab(85.5 -20.3 30.0)
LCHlch(85.5 36.2 124.1)
OKLCHoklch(0.868 0.093 126.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4df9c on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#c4df9c on black: 14.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green87.5%
Blue61.2%

CMYK percentages

Cyan12.1%
Magenta0.0%
Yellow30.0%
Key (black)12.5%

Color previews

#c4df9c text on a black background

contrast 14.38:1

Card sample

#c4df9c text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 223, 156, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 223, 156, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c4df9c;
background: linear-gradient(135deg, #c4df9c, #9CDFA1);

Monochromatic scale

Palettes built from #c4df9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4df9c in the Color Lab