Skip to content

#2abd1e

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

RGB
42, 189, 30
HSL
116°, 73%, 43%
CMYK
78, 0, 84, 26
Luminance
0.3698

Every format

HEX#2abd1e
RGBrgb(42, 189, 30)
HSLhsl(116, 73%, 43%)
CMYKcmyk(78%, 0%, 84%, 26%)
LABlab(67.3 -64.6 62.1)
LCHlch(67.3 89.6 136.1)
OKLCHoklch(0.697 0.223 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2abd1e on white: 2.50:1
AA ✗ fail · AA-large · AAA
Aa
#2abd1e on black: 8.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green74.1%
Blue11.8%

CMYK percentages

Cyan77.8%
Magenta0.0%
Yellow84.1%
Key (black)25.9%

Color previews

#2abd1e text on a black background

contrast 8.40:1

Card sample

#2abd1e text on a white background

contrast 2.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 189, 30, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 189, 30, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2abd1e;
background: linear-gradient(135deg, #2abd1e, #1EBD7C);

Monochromatic scale

Palettes built from #2abd1e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2abd1e in the Color Lab