Skip to content

#2abf1e

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

RGB
42, 191, 30
HSL
116°, 73%, 43%
CMYK
78, 0, 84, 25
Luminance
0.3785

Every format

HEX#2abf1e
RGBrgb(42, 191, 30)
HSLhsl(116, 73%, 43%)
CMYKcmyk(78%, 0%, 84%, 25%)
LABlab(67.9 -65.2 62.7)
LCHlch(67.9 90.5 136.1)
OKLCHoklch(0.702 0.225 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2abf1e on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#2abf1e on black: 8.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green74.9%
Blue11.8%

CMYK percentages

Cyan78.0%
Magenta0.0%
Yellow84.3%
Key (black)25.1%

Color previews

#2abf1e text on a black background

contrast 8.57:1

Card sample

#2abf1e text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2abf1e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2abf1e in the Color Lab