Skip to content

#2abc4d

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

RGB
42, 188, 77
HSL
134°, 64%, 45%
CMYK
78, 0, 59, 26
Luminance
0.3699

Every format

HEX#2abc4d
RGBrgb(42, 188, 77)
HSLhsl(134, 64%, 45%)
CMYKcmyk(78%, 0%, 59%, 26%)
LABlab(67.3 -60.2 44.9)
LCHlch(67.3 75.0 143.3)
OKLCHoklch(0.698 0.194 146.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green73.7%
Blue30.2%

CMYK percentages

Cyan77.7%
Magenta0.0%
Yellow59.0%
Key (black)26.3%

Color previews

#2abc4d text on a black background

contrast 8.40:1

Card sample

#2abc4d text on a white background

contrast 2.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2abc4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2abc4d in the Color Lab