Skip to content

#8af82f

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

RGB
138, 248, 47
HSL
93°, 94%, 58%
CMYK
44, 0, 81, 3
Luminance
0.7274

Every format

HEX#8af82f
RGBrgb(138, 248, 47)
HSLhsl(93, 94%, 58%)
CMYKcmyk(44%, 0%, 81%, 3%)
LABlab(88.3 -61.3 78.0)
LCHlch(88.3 99.2 128.1)
OKLCHoklch(0.879 0.243 135.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8af82f on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#8af82f on black: 15.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green97.3%
Blue18.4%

CMYK percentages

Cyan44.4%
Magenta0.0%
Yellow81.0%
Key (black)2.7%

Color previews

#8af82f text on a black background

contrast 15.55:1

Card sample

#8af82f text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af82f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af82f in the Color Lab