Skip to content

#c2ff45

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

RGB
194, 255, 69
HSL
80°, 100%, 64%
CMYK
24, 0, 73, 0
Luminance
0.8342

Every format

HEX#c2ff45
RGBrgb(194, 255, 69)
HSLhsl(80, 100%, 64%)
CMYKcmyk(24%, 0%, 73%, 0%)
LABlab(93.2 -44.0 77.3)
LCHlch(93.2 88.9 119.6)
OKLCHoklch(0.926 0.213 126.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green100.0%
Blue27.1%

CMYK percentages

Cyan23.9%
Magenta0.0%
Yellow72.9%
Key (black)0.0%

Color previews

#c2ff45 text on a black background

contrast 17.68:1

Card sample

#c2ff45 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2ff45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ff45 in the Color Lab