Skip to content

#2cc40c

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

RGB
44, 196, 12
HSL
110°, 89%, 41%
CMYK
78, 0, 94, 23
Luminance
0.4004

Every format

HEX#2cc40c
RGBrgb(44, 196, 12)
HSLhsl(110, 89%, 41%)
CMYKcmyk(78%, 0%, 94%, 23%)
LABlab(69.5 -67.0 67.4)
LCHlch(69.5 95.0 134.8)
OKLCHoklch(0.715 0.234 141.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2cc40c on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#2cc40c on black: 9.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green76.9%
Blue4.7%

CMYK percentages

Cyan77.6%
Magenta0.0%
Yellow93.9%
Key (black)23.1%

Color previews

#2cc40c text on a black background

contrast 9.01:1

Card sample

#2cc40c text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2cc40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cc40c in the Color Lab