Skip to content

#5fff2f

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

RGB
95, 255, 47
HSL
106°, 100%, 59%
CMYK
63, 0, 82, 0
Luminance
0.7416

Every format

HEX#5fff2f
RGBrgb(95, 255, 47)
HSLhsl(106, 100%, 59%)
CMYKcmyk(63%, 0%, 82%, 0%)
LABlab(89.0 -74.8 78.1)
LCHlch(89.0 108.1 133.8)
OKLCHoklch(0.881 0.268 140.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5fff2f on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#5fff2f on black: 15.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red37.3%
Green100.0%
Blue18.4%

CMYK percentages

Cyan62.7%
Magenta0.0%
Yellow81.6%
Key (black)0.0%

Color previews

#5fff2f text on a black background

contrast 15.83:1

Card sample

#5fff2f text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5fff2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5fff2f in the Color Lab