Skip to content

#5af982

a light, electric green · cool · closest name: forestgreen

RGB
90, 249, 130
HSL
135°, 93%, 67%
CMYK
64, 0, 48, 2
Luminance
0.7154

Every format

HEX#5af982
RGBrgb(90, 249, 130)
HSLhsl(135, 93%, 67%)
CMYKcmyk(64%, 0%, 48%, 2%)
LABlab(87.7 -66.0 44.9)
LCHlch(87.7 79.8 145.7)
OKLCHoklch(0.872 0.209 148.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5af982 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#5af982 on black: 15.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red35.3%
Green97.6%
Blue51.0%

CMYK percentages

Cyan63.9%
Magenta0.0%
Yellow47.8%
Key (black)2.4%

Color previews

#5af982 text on a black background

contrast 15.31:1

Card sample

#5af982 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5af982

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5af982 in the Color Lab