Skip to content

#7fcf49

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

RGB
127, 207, 73
HSL
96°, 58%, 55%
CMYK
39, 0, 65, 19
Luminance
0.4962

Every format

HEX#7fcf49
RGBrgb(127, 207, 73)
HSLhsl(96, 58%, 55%)
CMYKcmyk(39%, 0%, 65%, 19%)
LABlab(75.8 -47.0 57.0)
LCHlch(75.8 73.9 129.5)
OKLCHoklch(0.776 0.185 135.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7fcf49 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#7fcf49 on black: 10.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red49.8%
Green81.2%
Blue28.6%

CMYK percentages

Cyan38.6%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#7fcf49 text on a black background

contrast 10.92:1

Card sample

#7fcf49 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(127, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7fcf49;
background: linear-gradient(135deg, #7fcf49, #49CF6C);

Monochromatic scale

Palettes built from #7fcf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7fcf49 in the Color Lab