Skip to content

#8fbc2f

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

RGB
143, 188, 47
HSL
79°, 60%, 46%
CMYK
24, 0, 75, 26
Luminance
0.4201

Every format

HEX#8fbc2f
RGBrgb(143, 188, 47)
HSLhsl(79, 60%, 46%)
CMYKcmyk(24%, 0%, 75%, 26%)
LABlab(70.9 -34.7 61.9)
LCHlch(70.9 71.0 119.3)
OKLCHoklch(0.737 0.170 126.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8fbc2f on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#8fbc2f on black: 9.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green73.7%
Blue18.4%

CMYK percentages

Cyan23.9%
Magenta0.0%
Yellow75.0%
Key (black)26.3%

Color previews

#8fbc2f text on a black background

contrast 9.40:1

Card sample

#8fbc2f text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8fbc2f;
Background color
Panel with #8fbc2f background
background-color: #8fbc2f;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 188, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 188, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8fbc2f;
background: linear-gradient(135deg, #8fbc2f, #31BC2F);

Monochromatic scale

Palettes built from #8fbc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8fbc2f in the Color Lab