Skip to content

#7cd451

a balanced, vivid green · cool · closest name: forestgreen

RGB
124, 212, 81
HSL
100°, 60%, 58%
CMYK
42, 0, 62, 17
Luminance
0.5197

Every format

HEX#7cd451
RGBrgb(124, 212, 81)
HSLhsl(100, 60%, 58%)
CMYKcmyk(42%, 0%, 62%, 17%)
LABlab(77.3 -49.4 55.1)
LCHlch(77.3 74.0 131.8)
OKLCHoklch(0.787 0.187 136.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7cd451 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#7cd451 on black: 11.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red48.6%
Green83.1%
Blue31.8%

CMYK percentages

Cyan41.5%
Magenta0.0%
Yellow61.8%
Key (black)16.9%

Color previews

#7cd451 text on a black background

contrast 11.39:1

Card sample

#7cd451 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(124, 212, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 212, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7cd451;
background: linear-gradient(135deg, #7cd451, #51D47D);

Monochromatic scale

Palettes built from #7cd451

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7cd451 in the Color Lab