Skip to content

#c0fc2f

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

RGB
192, 252, 47
HSL
78°, 97%, 59%
CMYK
24, 0, 81, 1
Luminance
0.8103

Every format

HEX#c0fc2f
RGBrgb(192, 252, 47)
HSLhsl(78, 97%, 59%)
CMYKcmyk(24%, 0%, 81%, 1%)
LABlab(92.2 -44.4 82.4)
LCHlch(92.2 93.6 118.3)
OKLCHoklch(0.917 0.221 125.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0fc2f on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#c0fc2f on black: 17.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green98.8%
Blue18.4%

CMYK percentages

Cyan23.8%
Magenta0.0%
Yellow81.3%
Key (black)1.2%

Color previews

#c0fc2f text on a black background

contrast 17.21:1

Card sample

#c0fc2f text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 252, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 252, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0fc2f;
background: linear-gradient(135deg, #c0fc2f, #37FC2F);

Monochromatic scale

Palettes built from #c0fc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0fc2f in the Color Lab