Skip to content

#c4ff81

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

RGB
196, 255, 129
HSL
88°, 100%, 75%
CMYK
23, 0, 49, 0
Luminance
0.8484

Every format

HEX#c4ff81
RGBrgb(196, 255, 129)
HSLhsl(88, 100%, 75%)
CMYKcmyk(23%, 0%, 49%, 0%)
LABlab(93.8 -38.6 53.9)
LCHlch(93.8 66.2 125.6)
OKLCHoklch(0.933 0.168 129.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4ff81 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#c4ff81 on black: 17.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green100.0%
Blue50.6%

CMYK percentages

Cyan23.1%
Magenta0.0%
Yellow49.4%
Key (black)0.0%

Color previews

#c4ff81 text on a black background

contrast 17.97:1

Card sample

#c4ff81 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 255, 129, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 255, 129, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c4ff81;
background: linear-gradient(135deg, #c4ff81, #81FF92);

Monochromatic scale

Palettes built from #c4ff81

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4ff81 in the Color Lab