Skip to content

#5abc2e

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

RGB
90, 188, 46
HSL
101°, 61%, 46%
CMYK
52, 0, 76, 26
Luminance
0.3834

Every format

HEX#5abc2e
RGBrgb(90, 188, 46)
HSLhsl(101, 61%, 46%)
CMYKcmyk(52%, 0%, 76%, 26%)
LABlab(68.3 -53.0 58.9)
LCHlch(68.3 79.2 132.0)
OKLCHoklch(0.709 0.197 138.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red35.3%
Green73.7%
Blue18.0%

CMYK percentages

Cyan52.1%
Magenta0.0%
Yellow75.5%
Key (black)26.3%

Color previews

#5abc2e text on a black background

contrast 8.67:1

Card sample

#5abc2e text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5abc2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5abc2e in the Color Lab