Skip to content

#9aaa55

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

RGB
154, 170, 85
HSL
71°, 33%, 50%
CMYK
9, 0, 50, 33
Luminance
0.3628

Every format

HEX#9aaa55
RGBrgb(154, 170, 85)
HSLhsl(71, 33%, 50%)
CMYKcmyk(9%, 0%, 50%, 33%)
LABlab(66.7 -18.7 41.6)
LCHlch(66.7 45.6 114.2)
OKLCHoklch(0.707 0.112 118.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9aaa55 on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#9aaa55 on black: 8.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.4%
Green66.7%
Blue33.3%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow50.0%
Key (black)33.3%

Color previews

#9aaa55 text on a black background

contrast 8.26:1

Card sample

#9aaa55 text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(154, 170, 85, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 170, 85, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9aaa55;
background: linear-gradient(135deg, #9aaa55, #61AA55);

Monochromatic scale

Palettes built from #9aaa55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9aaa55 in the Color Lab