Skip to content

#8fec2f

a balanced, electric green · cool · closest name: lime

RGB
143, 236, 47
HSL
90°, 83%, 56%
CMYK
39, 0, 80, 8
Luminance
0.6604

Every format

HEX#8fec2f
RGBrgb(143, 236, 47)
HSLhsl(90, 83%, 56%)
CMYKcmyk(39%, 0%, 80%, 8%)
LABlab(85.0 -55.1 75.1)
LCHlch(85.0 93.1 126.2)
OKLCHoklch(0.852 0.227 133.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8fec2f on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#8fec2f on black: 14.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green92.5%
Blue18.4%

CMYK percentages

Cyan39.4%
Magenta0.0%
Yellow80.1%
Key (black)7.5%

Color previews

#8fec2f text on a black background

contrast 14.21:1

Card sample

#8fec2f text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8fec2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8fec2f in the Color Lab