Skip to content

#c2ff59

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

RGB
194, 255, 89
HSL
82°, 100%, 68%
CMYK
24, 0, 65, 0
Luminance
0.8371

Every format

HEX#c2ff59
RGBrgb(194, 255, 89)
HSLhsl(82, 100%, 68%)
CMYKcmyk(24%, 0%, 65%, 0%)
LABlab(93.3 -42.8 70.3)
LCHlch(93.3 82.3 121.3)
OKLCHoklch(0.928 0.201 127.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ff59 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#c2ff59 on black: 17.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green100.0%
Blue34.9%

CMYK percentages

Cyan23.9%
Magenta0.0%
Yellow65.1%
Key (black)0.0%

Color previews

#c2ff59 text on a black background

contrast 17.74:1

Card sample

#c2ff59 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2ff59

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ff59 in the Color Lab