Skip to content

#8fad2f

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

RGB
143, 173, 47
HSL
74°, 57%, 43%
CMYK
17, 0, 73, 32
Luminance
0.3593

Every format

HEX#8fad2f
RGBrgb(143, 173, 47)
HSLhsl(74, 57%, 43%)
CMYKcmyk(17%, 0%, 73%, 32%)
LABlab(66.5 -27.7 57.7)
LCHlch(66.5 64.0 115.6)
OKLCHoklch(0.702 0.152 122.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8fad2f on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#8fad2f on black: 8.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green67.8%
Blue18.4%

CMYK percentages

Cyan17.3%
Magenta0.0%
Yellow72.8%
Key (black)32.2%

Color previews

#8fad2f text on a black background

contrast 8.19:1

Card sample

#8fad2f text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8fad2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8fad2f in the Color Lab