Skip to content

#2cac47

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

RGB
44, 172, 71
HSL
133°, 59%, 42%
CMYK
74, 0, 59, 33
Luminance
0.3050

Every format

HEX#2cac47
RGBrgb(44, 172, 71)
HSLhsl(133, 59%, 42%)
CMYKcmyk(74%, 0%, 59%, 33%)
LABlab(62.1 -55.2 41.6)
LCHlch(62.1 69.1 143.0)
OKLCHoklch(0.655 0.178 146.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2cac47 on white: 2.96:1
AA ✗ fail · AA-large · AAA
Aa
#2cac47 on black: 7.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green67.5%
Blue27.8%

CMYK percentages

Cyan74.4%
Magenta0.0%
Yellow58.7%
Key (black)32.5%

Color previews

#2cac47 text on a black background

contrast 7.10:1

Card sample

#2cac47 text on a white background

contrast 2.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 172, 71, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 172, 71, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2cac47;
background: linear-gradient(135deg, #2cac47, #2CAC9D);

Monochromatic scale

Palettes built from #2cac47

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cac47 in the Color Lab