Skip to content

#7ecc2f

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

RGB
126, 204, 47
HSL
90°, 63%, 49%
CMYK
38, 0, 77, 20
Luminance
0.4783

Every format

HEX#7ecc2f
RGBrgb(126, 204, 47)
HSLhsl(90, 63%, 49%)
CMYKcmyk(38%, 0%, 77%, 20%)
LABlab(74.7 -47.9 65.3)
LCHlch(74.7 81.0 126.3)
OKLCHoklch(0.766 0.198 133.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7ecc2f on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#7ecc2f on black: 10.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red49.4%
Green80.0%
Blue18.4%

CMYK percentages

Cyan38.2%
Magenta0.0%
Yellow77.0%
Key (black)20.0%

Color previews

#7ecc2f text on a black background

contrast 10.57:1

Card sample

#7ecc2f text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(126, 204, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(126, 204, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7ecc2f;
background: linear-gradient(135deg, #7ecc2f, #2FCC49);

Monochromatic scale

Palettes built from #7ecc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7ecc2f in the Color Lab