Skip to content

#9dbf2f

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

RGB
157, 191, 47
HSL
74°, 61%, 47%
CMYK
18, 0, 75, 25
Luminance
0.4463

Every format

HEX#9dbf2f
RGBrgb(157, 191, 47)
HSLhsl(74, 61%, 47%)
CMYKcmyk(18%, 0%, 75%, 25%)
LABlab(72.7 -30.5 63.9)
LCHlch(72.7 70.8 115.5)
OKLCHoklch(0.754 0.167 122.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9dbf2f on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#9dbf2f on black: 9.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green74.9%
Blue18.4%

CMYK percentages

Cyan17.8%
Magenta0.0%
Yellow75.4%
Key (black)25.1%

Color previews

#9dbf2f text on a black background

contrast 9.93:1

Card sample

#9dbf2f text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 191, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 191, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9dbf2f;
background: linear-gradient(135deg, #9dbf2f, #3DBF2F);

Monochromatic scale

Palettes built from #9dbf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9dbf2f in the Color Lab