Skip to content

#8af166

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

RGB
138, 241, 102
HSL
105°, 83%, 67%
CMYK
43, 0, 58, 6
Luminance
0.6927

Every format

HEX#8af166
RGBrgb(138, 241, 102)
HSLhsl(105, 83%, 67%)
CMYKcmyk(43%, 0%, 58%, 6%)
LABlab(86.6 -54.6 56.8)
LCHlch(86.6 78.8 133.9)
OKLCHoklch(0.866 0.201 138.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.1%
Green94.5%
Blue40.0%

CMYK percentages

Cyan42.7%
Magenta0.0%
Yellow57.7%
Key (black)5.5%

Color previews

#8af166 text on a black background

contrast 14.85:1

Card sample

#8af166 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af166

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af166 in the Color Lab