Skip to content

#50ff1f

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

RGB
80, 255, 31
HSL
107°, 100%, 56%
CMYK
69, 0, 88, 0
Luminance
0.7332

Every format

HEX#50ff1f
RGBrgb(80, 255, 31)
HSLhsl(107, 100%, 56%)
CMYKcmyk(69%, 0%, 88%, 0%)
LABlab(88.6 -78.3 80.9)
LCHlch(88.6 112.6 134.1)
OKLCHoklch(0.876 0.278 140.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#50ff1f on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#50ff1f on black: 15.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green100.0%
Blue12.2%

CMYK percentages

Cyan68.6%
Magenta0.0%
Yellow87.8%
Key (black)0.0%

Color previews

#50ff1f text on a black background

contrast 15.66:1

Card sample

#50ff1f text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #50ff1f;
Background color
Panel with #50ff1f background
background-color: #50ff1f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #50ff1f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(80, 255, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 255, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #50ff1f;
background: linear-gradient(135deg, #50ff1f, #1FFF83);

Monochromatic scale

Palettes built from #50ff1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #50ff1f in the Color Lab