Skip to content

#2cf02a

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

RGB
44, 240, 42
HSL
119°, 87%, 55%
CMYK
82, 0, 83, 6
Luminance
0.6302

Every format

HEX#2cf02a
RGBrgb(44, 240, 42)
HSLhsl(119, 87%, 55%)
CMYKcmyk(82%, 0%, 83%, 6%)
LABlab(83.5 -78.6 73.9)
LCHlch(83.5 107.9 136.8)
OKLCHoklch(0.832 0.269 142.6)

Copy-ready code

/* CSS */
color: #2cf02a;
background-color: #2cf02a;
/* Tailwind (arbitrary) */
class="text-[#2cf02a] bg-[#2cf02a]"
/* SCSS */
$brand: #2cf02a;
/* SwiftUI */
Color(red: 0.173, green: 0.941, blue: 0.165)
/* Android */
Color.parseColor("#2cf02a")

Accessibility — WCAG contrast

Aa
#2cf02a on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#2cf02a on black: 13.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green94.1%
Blue16.5%

CMYK percentages

Cyan81.7%
Magenta0.0%
Yellow82.5%
Key (black)5.9%

Color previews

#2cf02a text on a black background

contrast 13.60:1

Card sample

#2cf02a text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 240, 42, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 240, 42, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2cf02a;
background: linear-gradient(135deg, #2cf02a, #2AF0AC);

Monochromatic scale

Palettes built from #2cf02a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cf02a in the Color Lab