Skip to content

#8fcc2f

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

RGB
143, 204, 47
HSL
83°, 63%, 49%
CMYK
30, 0, 77, 20
Luminance
0.4923

Every format

HEX#8fcc2f
RGBrgb(143, 204, 47)
HSLhsl(83, 63%, 49%)
CMYKcmyk(30%, 0%, 77%, 20%)
LABlab(75.6 -41.9 66.4)
LCHlch(75.6 78.5 122.2)
OKLCHoklch(0.775 0.190 129.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8fcc2f on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#8fcc2f on black: 10.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green80.0%
Blue18.4%

CMYK percentages

Cyan29.9%
Magenta0.0%
Yellow77.0%
Key (black)20.0%

Color previews

#8fcc2f text on a black background

contrast 10.85:1

Card sample

#8fcc2f text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8fcc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8fcc2f in the Color Lab