Skip to content

#9baf49

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

RGB
155, 175, 73
HSL
72°, 41%, 49%
CMYK
11, 0, 58, 31
Luminance
0.3811

Every format

HEX#9baf49
RGBrgb(155, 175, 73)
HSLhsl(72, 41%, 49%)
CMYKcmyk(11%, 0%, 58%, 31%)
LABlab(68.1 -21.9 48.9)
LCHlch(68.1 53.6 114.1)
OKLCHoklch(0.718 0.130 119.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9baf49 on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#9baf49 on black: 8.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green68.6%
Blue28.6%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow58.3%
Key (black)31.4%

Color previews

#9baf49 text on a black background

contrast 8.62:1

Card sample

#9baf49 text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 175, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 175, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9baf49;
background: linear-gradient(135deg, #9baf49, #57AF49);

Monochromatic scale

Palettes built from #9baf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9baf49 in the Color Lab