Skip to content

#2ade0b

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

RGB
42, 222, 11
HSL
111°, 91%, 46%
CMYK
81, 0, 95, 13
Luminance
0.5276

Every format

HEX#2ade0b
RGBrgb(42, 222, 11)
HSLhsl(111, 91%, 46%)
CMYKcmyk(81%, 0%, 95%, 13%)
LABlab(77.7 -74.8 74.3)
LCHlch(77.7 105.4 135.2)
OKLCHoklch(0.784 0.260 141.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ade0b on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#2ade0b on black: 11.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green87.1%
Blue4.3%

CMYK percentages

Cyan81.1%
Magenta0.0%
Yellow95.0%
Key (black)12.9%

Color previews

#2ade0b text on a black background

contrast 11.55:1

Card sample

#2ade0b text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ade0b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ade0b in the Color Lab