Skip to content

#9bbc2f

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

RGB
155, 188, 47
HSL
74°, 60%, 46%
CMYK
18, 0, 75, 26
Luminance
0.4314

Every format

HEX#9bbc2f
RGBrgb(155, 188, 47)
HSLhsl(74, 60%, 46%)
CMYKcmyk(18%, 0%, 75%, 26%)
LABlab(71.7 -29.9 63.0)
LCHlch(71.7 69.7 115.4)
OKLCHoklch(0.745 0.165 122.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9bbc2f on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#9bbc2f on black: 9.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green73.7%
Blue18.4%

CMYK percentages

Cyan17.6%
Magenta0.0%
Yellow75.0%
Key (black)26.3%

Color previews

#9bbc2f text on a black background

contrast 9.63:1

Card sample

#9bbc2f text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9bbc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9bbc2f in the Color Lab