Skip to content

#2cf027

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

RGB
44, 240, 39
HSL
119°, 87%, 55%
CMYK
82, 0, 84, 6
Luminance
0.6300

Every format

HEX#2cf027
RGBrgb(44, 240, 39)
HSLhsl(119, 87%, 55%)
CMYKcmyk(82%, 0%, 84%, 6%)
LABlab(83.4 -78.8 74.6)
LCHlch(83.4 108.5 136.6)
OKLCHoklch(0.832 0.270 142.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red17.3%
Green94.1%
Blue15.3%

CMYK percentages

Cyan81.7%
Magenta0.0%
Yellow83.8%
Key (black)5.9%

Color previews

#2cf027 text on a black background

contrast 13.60:1

Card sample

#2cf027 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2cf027

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cf027 in the Color Lab