Skip to content

#8af45f

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

RGB
138, 244, 95
HSL
103°, 87%, 67%
CMYK
43, 0, 61, 4
Luminance
0.7093

Every format

HEX#8af45f
RGBrgb(138, 244, 95)
HSLhsl(103, 87%, 67%)
CMYKcmyk(43%, 0%, 61%, 4%)
LABlab(87.5 -56.5 60.7)
LCHlch(87.5 83.0 132.9)
OKLCHoklch(0.873 0.210 137.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.1%
Green95.7%
Blue37.3%

CMYK percentages

Cyan43.4%
Magenta0.0%
Yellow61.1%
Key (black)4.3%

Color previews

#8af45f text on a black background

contrast 15.19:1

Card sample

#8af45f text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 244, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 244, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8af45f;
background: linear-gradient(135deg, #8af45f, #5FF497);

Monochromatic scale

Palettes built from #8af45f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af45f in the Color Lab