Skip to content

#2cbc21

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

RGB
44, 188, 33
HSL
116°, 70%, 43%
CMYK
77, 0, 82, 26
Luminance
0.3661

Every format

HEX#2cbc21
RGBrgb(44, 188, 33)
HSLhsl(116, 70%, 43%)
CMYKcmyk(77%, 0%, 82%, 26%)
LABlab(67.0 -63.8 61.1)
LCHlch(67.0 88.4 136.2)
OKLCHoklch(0.695 0.220 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2cbc21 on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#2cbc21 on black: 8.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green73.7%
Blue12.9%

CMYK percentages

Cyan76.6%
Magenta0.0%
Yellow82.4%
Key (black)26.3%

Color previews

#2cbc21 text on a black background

contrast 8.32:1

Card sample

#2cbc21 text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 188, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 188, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2cbc21;
background: linear-gradient(135deg, #2cbc21, #21BC7D);

Monochromatic scale

Palettes built from #2cbc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cbc21 in the Color Lab