Skip to content

#8eb261

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

RGB
142, 178, 97
HSL
87°, 35%, 54%
CMYK
20, 0, 46, 30
Luminance
0.3845

Every format

HEX#8eb261
RGBrgb(142, 178, 97)
HSLhsl(87, 35%, 54%)
CMYKcmyk(20%, 0%, 46%, 30%)
LABlab(68.3 -26.1 37.4)
LCHlch(68.3 45.6 124.9)
OKLCHoklch(0.718 0.116 128.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8eb261 on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#8eb261 on black: 8.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.7%
Green69.8%
Blue38.0%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow45.5%
Key (black)30.2%

Color previews

#8eb261 text on a black background

contrast 8.69:1

Card sample

#8eb261 text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(142, 178, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(142, 178, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8eb261;
background: linear-gradient(135deg, #8eb261, #61B26A);

Monochromatic scale

Palettes built from #8eb261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8eb261 in the Color Lab