Skip to content

#c4df97

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

RGB
196, 223, 151
HSL
83°, 53%, 73%
CMYK
12, 0, 32, 13
Luminance
0.6675

Every format

HEX#c4df97
RGBrgb(196, 223, 151)
HSLhsl(83, 53%, 73%)
CMYKcmyk(12%, 0%, 32%, 13%)
LABlab(85.4 -21.0 32.4)
LCHlch(85.4 38.6 122.9)
OKLCHoklch(0.867 0.099 125.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.9%
Green87.5%
Blue59.2%

CMYK percentages

Cyan12.1%
Magenta0.0%
Yellow32.3%
Key (black)12.5%

Color previews

#c4df97 text on a black background

contrast 14.35:1

Card sample

#c4df97 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c4df97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4df97 in the Color Lab