Skip to content

#c2ef1e

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

RGB
194, 239, 30
HSL
73°, 87%, 53%
CMYK
19, 0, 87, 6
Luminance
0.7330

Every format

HEX#c2ef1e
RGBrgb(194, 239, 30)
HSLhsl(73, 87%, 53%)
CMYKcmyk(19%, 0%, 87%, 6%)
LABlab(88.6 -38.4 83.0)
LCHlch(88.6 91.4 114.8)
OKLCHoklch(0.889 0.211 122.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ef1e on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#c2ef1e on black: 15.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green93.7%
Blue11.8%

CMYK percentages

Cyan18.8%
Magenta0.0%
Yellow87.4%
Key (black)6.3%

Color previews

#c2ef1e text on a black background

contrast 15.66:1

Card sample

#c2ef1e text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2ef1e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ef1e in the Color Lab