Skip to content

#8fdb2f

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

RGB
143, 219, 47
HSL
87°, 71%, 52%
CMYK
35, 0, 79, 14
Luminance
0.5671

Every format

HEX#8fdb2f
RGBrgb(143, 219, 47)
HSLhsl(87, 71%, 52%)
CMYKcmyk(35%, 0%, 79%, 14%)
LABlab(80.0 -48.2 70.5)
LCHlch(80.0 85.4 124.4)
OKLCHoklch(0.811 0.207 131.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8fdb2f on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#8fdb2f on black: 12.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green85.9%
Blue18.4%

CMYK percentages

Cyan34.7%
Magenta0.0%
Yellow78.5%
Key (black)14.1%

Color previews

#8fdb2f text on a black background

contrast 12.34:1

Card sample

#8fdb2f text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8fdb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8fdb2f in the Color Lab