Skip to content

#7fec52

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

RGB
127, 236, 82
HSL
103°, 80%, 62%
CMYK
46, 0, 65, 8
Luminance
0.6511

Every format

HEX#7fec52
RGBrgb(127, 236, 82)
HSLhsl(103, 80%, 62%)
CMYKcmyk(46%, 0%, 65%, 8%)
LABlab(84.5 -57.8 62.7)
LCHlch(84.5 85.3 132.7)
OKLCHoklch(0.847 0.215 137.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7fec52 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#7fec52 on black: 14.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red49.8%
Green92.5%
Blue32.2%

CMYK percentages

Cyan46.2%
Magenta0.0%
Yellow65.3%
Key (black)7.5%

Color previews

#7fec52 text on a black background

contrast 14.02:1

Card sample

#7fec52 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7fec52

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7fec52 in the Color Lab