Skip to content

#7fbc2c

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

RGB
127, 188, 44
HSL
85°, 62%, 46%
CMYK
32, 0, 77, 26
Luminance
0.4066

Every format

HEX#7fbc2c
RGBrgb(127, 188, 44)
HSLhsl(85, 62%, 46%)
CMYKcmyk(32%, 0%, 77%, 26%)
LABlab(69.9 -41.0 61.7)
LCHlch(69.9 74.1 123.6)
OKLCHoklch(0.727 0.180 130.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7fbc2c on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#7fbc2c on black: 9.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red49.8%
Green73.7%
Blue17.3%

CMYK percentages

Cyan32.4%
Magenta0.0%
Yellow76.6%
Key (black)26.3%

Color previews

#7fbc2c text on a black background

contrast 9.13:1

Card sample

#7fbc2c text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(127, 188, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 188, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7fbc2c;
background: linear-gradient(135deg, #7fbc2c, #2CBC39);

Monochromatic scale

Palettes built from #7fbc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7fbc2c in the Color Lab