Skip to content

#2ade2f

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

RGB
42, 222, 47
HSL
122°, 73%, 52%
CMYK
81, 0, 79, 13
Luminance
0.5294

Every format

HEX#2ade2f
RGBrgb(42, 222, 47)
HSLhsl(122, 73%, 52%)
CMYKcmyk(81%, 0%, 79%, 13%)
LABlab(77.8 -73.4 67.4)
LCHlch(77.8 99.7 137.5)
OKLCHoklch(0.785 0.249 143.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ade2f on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#2ade2f on black: 11.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green87.1%
Blue18.4%

CMYK percentages

Cyan81.1%
Magenta0.0%
Yellow78.8%
Key (black)12.9%

Color previews

#2ade2f text on a black background

contrast 11.59:1

Card sample

#2ade2f text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 222, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 222, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ade2f;
background: linear-gradient(135deg, #2ade2f, #2ADEA7);

Monochromatic scale

Palettes built from #2ade2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ade2f in the Color Lab