Skip to content

#c2fe2d

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

RGB
194, 254, 45
HSL
77°, 99%, 59%
CMYK
24, 0, 82, 0
Luminance
0.8254

Every format

HEX#c2fe2d
RGBrgb(194, 254, 45)
HSLhsl(77, 99%, 59%)
CMYKcmyk(24%, 0%, 82%, 0%)
LABlab(92.8 -44.5 83.5)
LCHlch(92.8 94.7 118.1)
OKLCHoklch(0.923 0.223 125.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2fe2d on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#c2fe2d on black: 17.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green99.6%
Blue17.6%

CMYK percentages

Cyan23.6%
Magenta0.0%
Yellow82.3%
Key (black)0.4%

Color previews

#c2fe2d text on a black background

contrast 17.51:1

Card sample

#c2fe2d text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 254, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 254, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2fe2d;
background: linear-gradient(135deg, #c2fe2d, #37FE2D);

Monochromatic scale

Palettes built from #c2fe2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2fe2d in the Color Lab