Skip to content

#02ab49

a dark, electric green · cool · closest name: forestgreen

RGB
2, 171, 73
HSL
145°, 98%, 34%
CMYK
99, 0, 57, 33
Luminance
0.2962

Every format

HEX#02ab49
RGBrgb(2, 171, 73)
HSLhsl(145, 98%, 34%)
CMYKcmyk(99%, 0%, 57%, 33%)
LABlab(61.3 -58.4 39.6)
LCHlch(61.3 70.6 145.8)
OKLCHoklch(0.647 0.183 148.9)

Copy-ready code

/* CSS */
color: #02ab49;
background-color: #02ab49;
/* Tailwind (arbitrary) */
class="text-[#02ab49] bg-[#02ab49]"
/* SCSS */
$brand: #02ab49;
/* SwiftUI */
Color(red: 0.008, green: 0.671, blue: 0.286)
/* Android */
Color.parseColor("#02ab49")

Accessibility — WCAG contrast

Aa
#02ab49 on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#02ab49 on black: 6.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.8%
Green67.1%
Blue28.6%

CMYK percentages

Cyan98.8%
Magenta0.0%
Yellow57.3%
Key (black)32.9%

Color previews

#02ab49 text on a black background

contrast 6.92:1

Card sample

#02ab49 text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #02ab49;
Background color
Panel with #02ab49 background
background-color: #02ab49;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(2, 171, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 171, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #02ab49;
background: linear-gradient(135deg, #02ab49, #029CAB);

Monochromatic scale

Palettes built from #02ab49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #02ab49 in the Color Lab