Skip to content

#7cbc2f

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

RGB
124, 188, 47
HSL
87°, 60%, 46%
CMYK
34, 0, 75, 26
Luminance
0.4046

Every format

HEX#7cbc2f
RGBrgb(124, 188, 47)
HSLhsl(87, 60%, 46%)
CMYKcmyk(34%, 0%, 75%, 26%)
LABlab(69.8 -41.9 60.5)
LCHlch(69.8 73.6 124.7)
OKLCHoklch(0.726 0.180 131.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7cbc2f on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#7cbc2f on black: 9.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red48.6%
Green73.7%
Blue18.4%

CMYK percentages

Cyan34.0%
Magenta0.0%
Yellow75.0%
Key (black)26.3%

Color previews

#7cbc2f text on a black background

contrast 9.09:1

Card sample

#7cbc2f text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7cbc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7cbc2f in the Color Lab