Skip to content

#8df162

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

RGB
141, 241, 98
HSL
102°, 84%, 67%
CMYK
42, 0, 59, 6
Luminance
0.6946

Every format

HEX#8df162
RGBrgb(141, 241, 98)
HSLhsl(102, 84%, 67%)
CMYKcmyk(42%, 0%, 59%, 6%)
LABlab(86.7 -54.1 58.7)
LCHlch(86.7 79.8 132.7)
OKLCHoklch(0.867 0.203 137.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red55.3%
Green94.5%
Blue38.4%

CMYK percentages

Cyan41.5%
Magenta0.0%
Yellow59.3%
Key (black)5.5%

Color previews

#8df162 text on a black background

contrast 14.89:1

Card sample

#8df162 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(141, 241, 98, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(141, 241, 98, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8df162;
background: linear-gradient(135deg, #8df162, #62F197);

Monochromatic scale

Palettes built from #8df162

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8df162 in the Color Lab