Skip to content

#c2ff51

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

RGB
194, 255, 81
HSL
81°, 100%, 66%
CMYK
24, 0, 68, 0
Luminance
0.8358

Every format

HEX#c2ff51
RGBrgb(194, 255, 81)
HSLhsl(81, 100%, 66%)
CMYKcmyk(24%, 0%, 68%, 0%)
LABlab(93.3 -43.3 73.2)
LCHlch(93.3 85.1 120.6)
OKLCHoklch(0.927 0.206 126.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ff51 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#c2ff51 on black: 17.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green100.0%
Blue31.8%

CMYK percentages

Cyan23.9%
Magenta0.0%
Yellow68.2%
Key (black)0.0%

Color previews

#c2ff51 text on a black background

contrast 17.72:1

Card sample

#c2ff51 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2ff51

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ff51 in the Color Lab