Skip to content

#5abc2f

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

RGB
90, 188, 47
HSL
102°, 60%, 46%
CMYK
52, 0, 75, 26
Luminance
0.3835

Every format

HEX#5abc2f
RGBrgb(90, 188, 47)
HSLhsl(102, 60%, 46%)
CMYKcmyk(52%, 0%, 75%, 26%)
LABlab(68.3 -53.0 58.5)
LCHlch(68.3 78.9 132.2)
OKLCHoklch(0.709 0.197 138.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red35.3%
Green73.7%
Blue18.4%

CMYK percentages

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

Color previews

#5abc2f text on a black background

contrast 8.67:1

Card sample

#5abc2f text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5abc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5abc2f in the Color Lab