Skip to content

#9fcf49

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

RGB
159, 207, 73
HSL
82°, 58%, 55%
CMYK
23, 0, 65, 19
Luminance
0.5248

Every format

HEX#9fcf49
RGBrgb(159, 207, 73)
HSLhsl(82, 58%, 55%)
CMYKcmyk(23%, 0%, 65%, 19%)
LABlab(77.6 -35.6 59.3)
LCHlch(77.6 69.2 120.9)
OKLCHoklch(0.794 0.169 126.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9fcf49 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#9fcf49 on black: 11.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green81.2%
Blue28.6%

CMYK percentages

Cyan23.2%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#9fcf49 text on a black background

contrast 11.50:1

Card sample

#9fcf49 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(159, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9fcf49;
background: linear-gradient(135deg, #9fcf49, #49CF4C);

Monochromatic scale

Palettes built from #9fcf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fcf49 in the Color Lab