Skip to content

#9db921

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

RGB
157, 185, 33
HSL
71°, 70%, 43%
CMYK
15, 0, 82, 28
Luminance
0.4198

Every format

HEX#9db921
RGBrgb(157, 185, 33)
HSLhsl(71, 70%, 43%)
CMYKcmyk(15%, 0%, 82%, 28%)
LABlab(70.8 -28.3 66.4)
LCHlch(70.8 72.2 113.0)
OKLCHoklch(0.739 0.167 120.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9db921 on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#9db921 on black: 9.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green72.5%
Blue12.9%

CMYK percentages

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

Color previews

#9db921 text on a black background

contrast 9.40:1

Card sample

#9db921 text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9db921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9db921 in the Color Lab