Skip to content

#7cef21

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

RGB
124, 239, 33
HSL
94°, 87%, 53%
CMYK
48, 0, 86, 6
Luminance
0.6613

Every format

HEX#7cef21
RGBrgb(124, 239, 33)
HSLhsl(94, 87%, 53%)
CMYKcmyk(48%, 0%, 86%, 6%)
LABlab(85.1 -62.6 78.0)
LCHlch(85.1 100.1 128.8)
OKLCHoklch(0.851 0.244 135.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7cef21 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#7cef21 on black: 14.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red48.6%
Green93.7%
Blue12.9%

CMYK percentages

Cyan48.1%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#7cef21 text on a black background

contrast 14.23:1

Card sample

#7cef21 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(124, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7cef21;
background: linear-gradient(135deg, #7cef21, #21EF4F);

Monochromatic scale

Palettes built from #7cef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7cef21 in the Color Lab