Skip to content

#8bc270

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

RGB
139, 194, 112
HSL
100°, 40%, 60%
CMYK
28, 0, 42, 24
Luminance
0.4524

Every format

HEX#8bc270
RGBrgb(139, 194, 112)
HSLhsl(100, 40%, 60%)
CMYKcmyk(28%, 0%, 42%, 24%)
LABlab(73.0 -32.9 35.6)
LCHlch(73.0 48.5 132.7)
OKLCHoklch(0.756 0.125 136.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8bc270 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#8bc270 on black: 10.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green76.1%
Blue43.9%

CMYK percentages

Cyan28.4%
Magenta0.0%
Yellow42.3%
Key (black)23.9%

Color previews

#8bc270 text on a black background

contrast 10.05:1

Card sample

#8bc270 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(139, 194, 112, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(139, 194, 112, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8bc270;
background: linear-gradient(135deg, #8bc270, #70C28C);

Monochromatic scale

Palettes built from #8bc270

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8bc270 in the Color Lab