Skip to content

#8cdf20

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

RGB
140, 223, 32
HSL
86°, 75%, 50%
CMYK
37, 0, 86, 13
Luminance
0.5846

Every format

HEX#8cdf20
RGBrgb(140, 223, 32)
HSLhsl(86, 75%, 50%)
CMYKcmyk(37%, 0%, 86%, 13%)
LABlab(81.0 -51.5 75.0)
LCHlch(81.0 91.0 124.5)
OKLCHoklch(0.819 0.219 131.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8cdf20 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#8cdf20 on black: 12.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green87.5%
Blue12.5%

CMYK percentages

Cyan37.2%
Magenta0.0%
Yellow85.7%
Key (black)12.5%

Color previews

#8cdf20 text on a black background

contrast 12.69:1

Card sample

#8cdf20 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(140, 223, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 223, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cdf20;
background: linear-gradient(135deg, #8cdf20, #20DF33);

Monochromatic scale

Palettes built from #8cdf20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8cdf20 in the Color Lab