Skip to content

#9fcc2f

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

RGB
159, 204, 47
HSL
77°, 63%, 49%
CMYK
22, 0, 77, 20
Luminance
0.5076

Every format

HEX#9fcc2f
RGBrgb(159, 204, 47)
HSLhsl(77, 63%, 49%)
CMYKcmyk(22%, 0%, 77%, 20%)
LABlab(76.5 -35.7 67.6)
LCHlch(76.5 76.5 117.9)
OKLCHoklch(0.786 0.182 124.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9fcc2f on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#9fcc2f on black: 11.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green80.0%
Blue18.4%

CMYK percentages

Cyan22.1%
Magenta0.0%
Yellow77.0%
Key (black)20.0%

Color previews

#9fcc2f text on a black background

contrast 11.15:1

Card sample

#9fcc2f text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9fcc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fcc2f in the Color Lab