Skip to content

#5fec2f

a balanced, electric green · cool · closest name: lime

RGB
95, 236, 47
HSL
105°, 83%, 56%
CMYK
60, 0, 80, 8
Luminance
0.6263

Every format

HEX#5fec2f
RGBrgb(95, 236, 47)
HSLhsl(105, 83%, 56%)
CMYKcmyk(60%, 0%, 80%, 8%)
LABlab(83.3 -68.6 72.8)
LCHlch(83.3 100.1 133.3)
OKLCHoklch(0.833 0.248 139.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5fec2f on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#5fec2f on black: 13.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red37.3%
Green92.5%
Blue18.4%

CMYK percentages

Cyan59.7%
Magenta0.0%
Yellow80.1%
Key (black)7.5%

Color previews

#5fec2f text on a black background

contrast 13.53:1

Card sample

#5fec2f text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5fec2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5fec2f in the Color Lab