Skip to content

#c2fc2f

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

RGB
194, 252, 47
HSL
77°, 97%, 59%
CMYK
23, 0, 81, 1
Luminance
0.8130

Every format

HEX#c2fc2f
RGBrgb(194, 252, 47)
HSLhsl(77, 97%, 59%)
CMYKcmyk(23%, 0%, 81%, 1%)
LABlab(92.3 -43.6 82.6)
LCHlch(92.3 93.4 117.8)
OKLCHoklch(0.919 0.220 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2fc2f on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#c2fc2f on black: 17.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green98.8%
Blue18.4%

CMYK percentages

Cyan23.0%
Magenta0.0%
Yellow81.3%
Key (black)1.2%

Color previews

#c2fc2f text on a black background

contrast 17.26:1

Card sample

#c2fc2f text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2fc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2fc2f in the Color Lab