Skip to content

#9fcc56

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

RGB
159, 204, 86
HSL
83°, 54%, 57%
CMYK
22, 0, 58, 20
Luminance
0.5123

Every format

HEX#9fcc56
RGBrgb(159, 204, 86)
HSLhsl(83, 54%, 57%)
CMYKcmyk(22%, 0%, 58%, 20%)
LABlab(76.8 -33.1 53.0)
LCHlch(76.8 62.5 122.0)
OKLCHoklch(0.789 0.155 127.1)

Copy-ready code

/* CSS */
color: #9fcc56;
background-color: #9fcc56;
/* Tailwind (arbitrary) */
class="text-[#9fcc56] bg-[#9fcc56]"
/* SCSS */
$brand: #9fcc56;
/* SwiftUI */
Color(red: 0.624, green: 0.800, blue: 0.337)
/* Android */
Color.parseColor("#9fcc56")

Accessibility — WCAG contrast

Aa
#9fcc56 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#9fcc56 on black: 11.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green80.0%
Blue33.7%

CMYK percentages

Cyan22.1%
Magenta0.0%
Yellow57.8%
Key (black)20.0%

Color previews

#9fcc56 text on a black background

contrast 11.25:1

Card sample

#9fcc56 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9fcc56;
Background color
Panel with #9fcc56 background
background-color: #9fcc56;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(159, 204, 86, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 204, 86, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9fcc56;
background: linear-gradient(135deg, #9fcc56, #56CC5C);

Monochromatic scale

Palettes built from #9fcc56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fcc56 in the Color Lab