Skip to content

#3bab21

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

RGB
59, 171, 33
HSL
109°, 68%, 40%
CMYK
66, 0, 81, 33
Luminance
0.3017

Every format

HEX#3bab21
RGBrgb(59, 171, 33)
HSLhsl(109, 68%, 40%)
CMYKcmyk(66%, 0%, 81%, 33%)
LABlab(61.8 -55.6 56.4)
LCHlch(61.8 79.2 134.6)
OKLCHoklch(0.652 0.197 140.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3bab21 on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#3bab21 on black: 7.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.1%
Green67.1%
Blue12.9%

CMYK percentages

Cyan65.5%
Magenta0.0%
Yellow80.7%
Key (black)32.9%

Color previews

#3bab21 text on a black background

contrast 7.03:1

Card sample

#3bab21 text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3bab21;
Background color
Panel with #3bab21 background
background-color: #3bab21;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3bab21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3bab21 in the Color Lab