Skip to content

#8cdf45

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

RGB
140, 223, 69
HSL
92°, 71%, 57%
CMYK
37, 0, 69, 13
Luminance
0.5878

Every format

HEX#8cdf45
RGBrgb(140, 223, 69)
HSLhsl(92, 71%, 57%)
CMYKcmyk(37%, 0%, 69%, 13%)
LABlab(81.2 -49.6 64.3)
LCHlch(81.2 81.2 127.6)
OKLCHoklch(0.821 0.201 133.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.9%
Green87.5%
Blue27.1%

CMYK percentages

Cyan37.2%
Magenta0.0%
Yellow69.1%
Key (black)12.5%

Color previews

#8cdf45 text on a black background

contrast 12.76:1

Card sample

#8cdf45 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8cdf45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8cdf45 in the Color Lab