Skip to content

#7eff1f

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

RGB
126, 255, 31
HSL
95°, 100%, 56%
CMYK
51, 0, 88, 0
Luminance
0.7605

Every format

HEX#7eff1f
RGBrgb(126, 255, 31)
HSLhsl(95, 100%, 56%)
CMYKcmyk(51%, 0%, 88%, 0%)
LABlab(89.9 -67.8 82.5)
LCHlch(89.9 106.8 129.4)
OKLCHoklch(0.890 0.261 136.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7eff1f on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#7eff1f on black: 16.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red49.4%
Green100.0%
Blue12.2%

CMYK percentages

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

Color previews

#7eff1f text on a black background

contrast 16.21:1

Card sample

#7eff1f text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7eff1f;
Background color
Panel with #7eff1f background
background-color: #7eff1f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7eff1f;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #7eff1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7eff1f in the Color Lab