Skip to content

#2adb2d

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

RGB
42, 219, 45
HSL
121°, 71%, 51%
CMYK
81, 0, 80, 14
Luminance
0.5134

Every format

HEX#2adb2d
RGBrgb(42, 219, 45)
HSLhsl(121, 71%, 51%)
CMYKcmyk(81%, 0%, 80%, 14%)
LABlab(76.9 -72.7 67.0)
LCHlch(76.9 98.9 137.3)
OKLCHoklch(0.777 0.247 142.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2adb2d on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#2adb2d on black: 11.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green85.9%
Blue17.6%

CMYK percentages

Cyan80.8%
Magenta0.0%
Yellow79.5%
Key (black)14.1%

Color previews

#2adb2d text on a black background

contrast 11.27:1

Card sample

#2adb2d text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2adb2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2adb2d in the Color Lab