Skip to content

#8eb82f

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

RGB
142, 184, 47
HSL
78°, 59%, 45%
CMYK
23, 0, 75, 28
Luminance
0.4024

Every format

HEX#8eb82f
RGBrgb(142, 184, 47)
HSLhsl(78, 59%, 45%)
CMYKcmyk(23%, 0%, 75%, 28%)
LABlab(69.6 -33.3 60.7)
LCHlch(69.6 69.2 118.7)
OKLCHoklch(0.727 0.166 125.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8eb82f on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#8eb82f on black: 9.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.7%
Green72.2%
Blue18.4%

CMYK percentages

Cyan22.8%
Magenta0.0%
Yellow74.5%
Key (black)27.8%

Color previews

#8eb82f text on a black background

contrast 9.05:1

Card sample

#8eb82f text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(142, 184, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(142, 184, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8eb82f;
background: linear-gradient(135deg, #8eb82f, #33B82F);

Monochromatic scale

Palettes built from #8eb82f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8eb82f in the Color Lab