Skip to content

#2abc66

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

RGB
42, 188, 102
HSL
145°, 64%, 45%
CMYK
78, 0, 46, 26
Luminance
0.3742

Every format

HEX#2abc66
RGBrgb(42, 188, 102)
HSLhsl(145, 64%, 45%)
CMYKcmyk(78%, 0%, 46%, 26%)
LABlab(67.6 -56.4 33.0)
LCHlch(67.6 65.4 149.7)
OKLCHoklch(0.702 0.172 151.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2abc66 on white: 2.48:1
AA ✗ fail · AA-large · AAA
Aa
#2abc66 on black: 8.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green73.7%
Blue40.0%

CMYK percentages

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

Color previews

#2abc66 text on a black background

contrast 8.48:1

Card sample

#2abc66 text on a white background

contrast 2.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2abc66

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2abc66 in the Color Lab