Skip to content

#2ecb2e

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

RGB
46, 203, 46
HSL
120°, 63%, 49%
CMYK
77, 0, 77, 20
Luminance
0.4349

Every format

HEX#2ecb2e
RGBrgb(46, 203, 46)
HSLhsl(120, 63%, 49%)
CMYKcmyk(77%, 0%, 77%, 20%)
LABlab(71.9 -67.3 62.0)
LCHlch(71.9 91.5 137.4)
OKLCHoklch(0.736 0.230 142.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ecb2e on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#2ecb2e on black: 9.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green79.6%
Blue18.0%

CMYK percentages

Cyan77.3%
Magenta0.0%
Yellow77.3%
Key (black)20.4%

Color previews

#2ecb2e text on a black background

contrast 9.70:1

Card sample

#2ecb2e text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ecb2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ecb2e in the Color Lab