Skip to content

#c4fc2f

a balanced, electric green · cool · closest name: yellow

RGB
196, 252, 47
HSL
76°, 97%, 59%
CMYK
22, 0, 81, 1
Luminance
0.8156

Every format

HEX#c4fc2f
RGBrgb(196, 252, 47)
HSLhsl(76, 97%, 59%)
CMYKcmyk(22%, 0%, 81%, 1%)
LABlab(92.4 -42.8 82.7)
LCHlch(92.4 93.2 117.4)
OKLCHoklch(0.920 0.219 124.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4fc2f on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#c4fc2f on black: 17.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green98.8%
Blue18.4%

CMYK percentages

Cyan22.2%
Magenta0.0%
Yellow81.3%
Key (black)1.2%

Color previews

#c4fc2f text on a black background

contrast 17.31:1

Card sample

#c4fc2f text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 252, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 252, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c4fc2f;
background: linear-gradient(135deg, #c4fc2f, #3BFC2F);

Monochromatic scale

Palettes built from #c4fc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4fc2f in the Color Lab