Skip to content

#9fb921

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

RGB
159, 185, 33
HSL
70°, 70%, 43%
CMYK
14, 0, 82, 28
Luminance
0.4218

Every format

HEX#9fb921
RGBrgb(159, 185, 33)
HSLhsl(70, 70%, 43%)
CMYKcmyk(14%, 0%, 82%, 28%)
LABlab(71.0 -27.4 66.6)
LCHlch(71.0 72.0 112.4)
OKLCHoklch(0.741 0.166 119.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9fb921 on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#9fb921 on black: 9.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green72.5%
Blue12.9%

CMYK percentages

Cyan14.1%
Magenta0.0%
Yellow82.2%
Key (black)27.5%

Color previews

#9fb921 text on a black background

contrast 9.44:1

Card sample

#9fb921 text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(159, 185, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 185, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9fb921;
background: linear-gradient(135deg, #9fb921, #3AB921);

Monochromatic scale

Palettes built from #9fb921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fb921 in the Color Lab