Skip to content

#2ccb21

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

RGB
44, 203, 33
HSL
116°, 72%, 46%
CMYK
78, 0, 84, 20
Luminance
0.4336

Every format

HEX#2ccb21
RGBrgb(44, 203, 33)
HSLhsl(116, 72%, 46%)
CMYKcmyk(78%, 0%, 84%, 20%)
LABlab(71.8 -68.4 65.5)
LCHlch(71.8 94.7 136.2)
OKLCHoklch(0.735 0.235 142.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ccb21 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#2ccb21 on black: 9.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green79.6%
Blue12.9%

CMYK percentages

Cyan78.3%
Magenta0.0%
Yellow83.7%
Key (black)20.4%

Color previews

#2ccb21 text on a black background

contrast 9.67:1

Card sample

#2ccb21 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ccb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ccb21 in the Color Lab