Skip to content

#8cf166

a light, electric green · cool · closest name: forestgreen

RGB
140, 241, 102
HSL
104°, 83%, 67%
CMYK
42, 0, 58, 6
Luminance
0.6945

Every format

HEX#8cf166
RGBrgb(140, 241, 102)
HSLhsl(104, 83%, 67%)
CMYKcmyk(42%, 0%, 58%, 6%)
LABlab(86.7 -54.0 56.9)
LCHlch(86.7 78.5 133.5)
OKLCHoklch(0.867 0.200 138.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8cf166 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#8cf166 on black: 14.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green94.5%
Blue40.0%

CMYK percentages

Cyan41.9%
Magenta0.0%
Yellow57.7%
Key (black)5.5%

Color previews

#8cf166 text on a black background

contrast 14.89:1

Card sample

#8cf166 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(140, 241, 102, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 241, 102, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cf166;
background: linear-gradient(135deg, #8cf166, #66F19D);

Monochromatic scale

Palettes built from #8cf166

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8cf166 in the Color Lab