Skip to content

#5abc3a

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

RGB
90, 188, 58
HSL
105°, 53%, 48%
CMYK
52, 0, 69, 26
Luminance
0.3845

Every format

HEX#5abc3a
RGBrgb(90, 188, 58)
HSLhsl(105, 53%, 48%)
CMYKcmyk(52%, 0%, 69%, 26%)
LABlab(68.3 -52.1 54.5)
LCHlch(68.3 75.5 133.7)
OKLCHoklch(0.710 0.190 139.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5abc3a on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#5abc3a on black: 8.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red35.3%
Green73.7%
Blue22.7%

CMYK percentages

Cyan52.1%
Magenta0.0%
Yellow69.1%
Key (black)26.3%

Color previews

#5abc3a text on a black background

contrast 8.69:1

Card sample

#5abc3a text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(90, 188, 58, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(90, 188, 58, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5abc3a;
background: linear-gradient(135deg, #5abc3a, #3ABC71);

Monochromatic scale

Palettes built from #5abc3a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5abc3a in the Color Lab