Skip to content

#2abd50

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

RGB
42, 189, 80
HSL
136°, 64%, 45%
CMYK
78, 0, 58, 26
Luminance
0.3747

Every format

HEX#2abd50
RGBrgb(42, 189, 80)
HSLhsl(136, 64%, 45%)
CMYKcmyk(78%, 0%, 58%, 26%)
LABlab(67.6 -60.1 43.9)
LCHlch(67.6 74.4 143.9)
OKLCHoklch(0.701 0.192 147.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2abd50 on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#2abd50 on black: 8.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green74.1%
Blue31.4%

CMYK percentages

Cyan77.8%
Magenta0.0%
Yellow57.7%
Key (black)25.9%

Color previews

#2abd50 text on a black background

contrast 8.49:1

Card sample

#2abd50 text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2abd50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2abd50 in the Color Lab