Skip to content

#5bab49

a balanced, soft green · cool · closest name: forestgreen

RGB
91, 171, 73
HSL
109°, 40%, 48%
CMYK
47, 0, 57, 33
Luminance
0.3183

Every format

HEX#5bab49
RGBrgb(91, 171, 73)
HSLhsl(109, 40%, 48%)
CMYKcmyk(47%, 0%, 57%, 33%)
LABlab(63.2 -43.6 42.3)
LCHlch(63.2 60.8 135.9)
OKLCHoklch(0.668 0.156 140.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5bab49 on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#5bab49 on black: 7.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red35.7%
Green67.1%
Blue28.6%

CMYK percentages

Cyan46.8%
Magenta0.0%
Yellow57.3%
Key (black)32.9%

Color previews

#5bab49 text on a black background

contrast 7.37:1

Card sample

#5bab49 text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5bab49;
Background color
Panel with #5bab49 background
background-color: #5bab49;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(91, 171, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(91, 171, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5bab49;
background: linear-gradient(135deg, #5bab49, #49AB78);

Monochromatic scale

Palettes built from #5bab49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5bab49 in the Color Lab