Skip to content

#2ecf22

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

RGB
46, 207, 34
HSL
116°, 72%, 47%
CMYK
78, 0, 84, 19
Luminance
0.4532

Every format

HEX#2ecf22
RGBrgb(46, 207, 34)
HSLhsl(116, 72%, 47%)
CMYKcmyk(78%, 0%, 84%, 19%)
LABlab(73.1 -69.2 66.5)
LCHlch(73.1 96.0 136.2)
OKLCHoklch(0.746 0.239 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ecf22 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#2ecf22 on black: 10.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green81.2%
Blue13.3%

CMYK percentages

Cyan77.8%
Magenta0.0%
Yellow83.6%
Key (black)18.8%

Color previews

#2ecf22 text on a black background

contrast 10.06:1

Card sample

#2ecf22 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 207, 34, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 207, 34, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ecf22;
background: linear-gradient(135deg, #2ecf22, #22CF89);

Monochromatic scale

Palettes built from #2ecf22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ecf22 in the Color Lab