Skip to content

#2cfb18

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

RGB
44, 251, 24
HSL
115°, 97%, 54%
CMYK
83, 0, 90, 2
Luminance
0.6960

Every format

HEX#2cfb18
RGBrgb(44, 251, 24)
HSLhsl(115, 97%, 54%)
CMYKcmyk(83%, 0%, 90%, 2%)
LABlab(86.8 -82.3 80.3)
LCHlch(86.8 115.0 135.7)
OKLCHoklch(0.860 0.284 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2cfb18 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#2cfb18 on black: 14.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green98.4%
Blue9.4%

CMYK percentages

Cyan82.5%
Magenta0.0%
Yellow90.4%
Key (black)1.6%

Color previews

#2cfb18 text on a black background

contrast 14.92:1

Card sample

#2cfb18 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2cfb18

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cfb18 in the Color Lab