Skip to content

#8af52c

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

RGB
138, 245, 44
HSL
92°, 91%, 57%
CMYK
44, 0, 82, 4
Luminance
0.7089

Every format

HEX#8af52c
RGBrgb(138, 245, 44)
HSLhsl(92, 91%, 57%)
CMYKcmyk(44%, 0%, 82%, 4%)
LABlab(87.4 -60.2 77.9)
LCHlch(87.4 98.5 127.7)
OKLCHoklch(0.872 0.240 134.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8af52c on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#8af52c on black: 15.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green96.1%
Blue17.3%

CMYK percentages

Cyan43.7%
Magenta0.0%
Yellow82.0%
Key (black)3.9%

Color previews

#8af52c text on a black background

contrast 15.18:1

Card sample

#8af52c text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af52c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af52c in the Color Lab