Skip to content

#2adc0f

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

RGB
42, 220, 15
HSL
112°, 87%, 46%
CMYK
81, 0, 93, 14
Luminance
0.5171

Every format

HEX#2adc0f
RGBrgb(42, 220, 15)
HSLhsl(112, 87%, 46%)
CMYKcmyk(81%, 0%, 93%, 14%)
LABlab(77.1 -74.1 73.3)
LCHlch(77.1 104.3 135.3)
OKLCHoklch(0.779 0.257 141.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2adc0f on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#2adc0f on black: 11.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green86.3%
Blue5.9%

CMYK percentages

Cyan80.9%
Magenta0.0%
Yellow93.2%
Key (black)13.7%

Color previews

#2adc0f text on a black background

contrast 11.34:1

Card sample

#2adc0f text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2adc0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2adc0f in the Color Lab