Skip to content

#4dab21

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

RGB
77, 171, 33
HSL
101°, 68%, 40%
CMYK
55, 0, 81, 33
Luminance
0.3081

Every format

HEX#4dab21
RGBrgb(77, 171, 33)
HSLhsl(101, 68%, 40%)
CMYKcmyk(55%, 0%, 81%, 33%)
LABlab(62.4 -51.1 57.1)
LCHlch(62.4 76.7 131.8)
OKLCHoklch(0.658 0.190 138.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4dab21 on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#4dab21 on black: 7.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green67.1%
Blue12.9%

CMYK percentages

Cyan55.0%
Magenta0.0%
Yellow80.7%
Key (black)32.9%

Color previews

#4dab21 text on a black background

contrast 7.16:1

Card sample

#4dab21 text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4dab21;
Background color
Panel with #4dab21 background
background-color: #4dab21;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(77, 171, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 171, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4dab21;
background: linear-gradient(135deg, #4dab21, #21AB51);

Monochromatic scale

Palettes built from #4dab21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4dab21 in the Color Lab