Skip to content

#2ecc2c

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

RGB
46, 204, 44
HSL
119°, 65%, 49%
CMYK
78, 0, 78, 20
Luminance
0.4395

Every format

HEX#2ecc2c
RGBrgb(46, 204, 44)
HSLhsl(119, 65%, 49%)
CMYKcmyk(78%, 0%, 78%, 20%)
LABlab(72.2 -67.8 62.9)
LCHlch(72.2 92.5 137.1)
OKLCHoklch(0.738 0.232 142.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ecc2c on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#2ecc2c on black: 9.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green80.0%
Blue17.3%

CMYK percentages

Cyan77.5%
Magenta0.0%
Yellow78.4%
Key (black)20.0%

Color previews

#2ecc2c text on a black background

contrast 9.79:1

Card sample

#2ecc2c text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ecc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ecc2c in the Color Lab