Skip to content

#8af480

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

RGB
138, 244, 128
HSL
115°, 84%, 73%
CMYK
43, 0, 48, 4
Luminance
0.7166

Every format

HEX#8af480
RGBrgb(138, 244, 128)
HSLhsl(115, 84%, 73%)
CMYKcmyk(43%, 0%, 48%, 4%)
LABlab(87.8 -52.8 46.3)
LCHlch(87.8 70.2 138.8)
OKLCHoklch(0.877 0.183 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8af480 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#8af480 on black: 15.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green95.7%
Blue50.2%

CMYK percentages

Cyan43.4%
Magenta0.0%
Yellow47.5%
Key (black)4.3%

Color previews

#8af480 text on a black background

contrast 15.33:1

Card sample

#8af480 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8af480

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af480 in the Color Lab