Skip to content

#2abb5e

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

RGB
42, 187, 94
HSL
142°, 63%, 45%
CMYK
78, 0, 50, 27
Luminance
0.3684

Every format

HEX#2abb5e
RGBrgb(42, 187, 94)
HSLhsl(142, 63%, 45%)
CMYKcmyk(78%, 0%, 50%, 27%)
LABlab(67.2 -57.4 36.5)
LCHlch(67.2 68.0 147.5)
OKLCHoklch(0.698 0.178 150.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2abb5e on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#2abb5e on black: 8.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green73.3%
Blue36.9%

CMYK percentages

Cyan77.5%
Magenta0.0%
Yellow49.7%
Key (black)26.7%

Color previews

#2abb5e text on a black background

contrast 8.37:1

Card sample

#2abb5e text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2abb5e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2abb5e in the Color Lab