Skip to content

#c4df4e

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

RGB
196, 223, 78
HSL
71°, 69%, 59%
CMYK
12, 0, 65, 13
Luminance
0.6506

Every format

HEX#c4df4e
RGBrgb(196, 223, 78)
HSLhsl(71, 69%, 59%)
CMYKcmyk(12%, 0%, 65%, 13%)
LABlab(84.5 -28.2 65.4)
LCHlch(84.5 71.2 113.3)
OKLCHoklch(0.857 0.170 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4df4e on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#c4df4e on black: 14.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green87.5%
Blue30.6%

CMYK percentages

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

Color previews

#c4df4e text on a black background

contrast 14.01:1

Card sample

#c4df4e text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c4df4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4df4e in the Color Lab