Skip to content

#7fec2c

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

RGB
127, 236, 44
HSL
94°, 84%, 55%
CMYK
46, 0, 81, 8
Luminance
0.6468

Every format

HEX#7fec2c
RGBrgb(127, 236, 44)
HSLhsl(94, 84%, 55%)
CMYKcmyk(46%, 0%, 81%, 8%)
LABlab(84.3 -60.2 75.0)
LCHlch(84.3 96.2 128.8)
OKLCHoklch(0.845 0.236 135.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7fec2c on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#7fec2c on black: 13.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red49.8%
Green92.5%
Blue17.3%

CMYK percentages

Cyan46.2%
Magenta0.0%
Yellow81.4%
Key (black)7.5%

Color previews

#7fec2c text on a black background

contrast 13.94:1

Card sample

#7fec2c text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(127, 236, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 236, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7fec2c;
background: linear-gradient(135deg, #7fec2c, #2CEC59);

Monochromatic scale

Palettes built from #7fec2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7fec2c in the Color Lab