Skip to content

#8cda2c

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

RGB
140, 218, 44
HSL
87°, 70%, 51%
CMYK
36, 0, 80, 15
Luminance
0.5590

Every format

HEX#8cda2c
RGBrgb(140, 218, 44)
HSLhsl(87, 70%, 51%)
CMYKcmyk(36%, 0%, 80%, 15%)
LABlab(79.6 -49.0 70.9)
LCHlch(79.6 86.2 124.6)
OKLCHoklch(0.807 0.209 131.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8cda2c on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#8cda2c on black: 12.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green85.5%
Blue17.3%

CMYK percentages

Cyan35.8%
Magenta0.0%
Yellow79.8%
Key (black)14.5%

Color previews

#8cda2c text on a black background

contrast 12.18:1

Card sample

#8cda2c text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(140, 218, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 218, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cda2c;
background: linear-gradient(135deg, #8cda2c, #2CDA40);

Monochromatic scale

Palettes built from #8cda2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8cda2c in the Color Lab