Skip to content

#2eb22c

a dark, vivid green · cool · closest name: forestgreen

RGB
46, 178, 44
HSL
119°, 60%, 44%
CMYK
74, 0, 75, 30
Luminance
0.3260

Every format

HEX#2eb22c
RGBrgb(46, 178, 44)
HSLhsl(119, 60%, 44%)
CMYKcmyk(74%, 0%, 75%, 30%)
LABlab(63.8 -59.7 54.8)
LCHlch(63.8 81.0 137.5)
OKLCHoklch(0.669 0.204 142.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2eb22c on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#2eb22c on black: 7.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green69.8%
Blue17.3%

CMYK percentages

Cyan74.2%
Magenta0.0%
Yellow75.3%
Key (black)30.2%

Color previews

#2eb22c text on a black background

contrast 7.52:1

Card sample

#2eb22c text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2eb22c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2eb22c in the Color Lab