Skip to content

#8ad451

a balanced, vivid green · cool · closest name: olivedrab

RGB
138, 212, 81
HSL
94°, 60%, 58%
CMYK
35, 0, 62, 17
Luminance
0.5308

Every format

HEX#8ad451
RGBrgb(138, 212, 81)
HSLhsl(94, 60%, 58%)
CMYKcmyk(35%, 0%, 62%, 17%)
LABlab(77.9 -44.7 56.0)
LCHlch(77.9 71.7 128.6)
OKLCHoklch(0.794 0.180 133.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8ad451 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#8ad451 on black: 11.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green83.1%
Blue31.8%

CMYK percentages

Cyan34.9%
Magenta0.0%
Yellow61.8%
Key (black)16.9%

Color previews

#8ad451 text on a black background

contrast 11.62:1

Card sample

#8ad451 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 212, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 212, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ad451;
background: linear-gradient(135deg, #8ad451, #51D46F);

Monochromatic scale

Palettes built from #8ad451

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8ad451 in the Color Lab