Skip to content

#96af49

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

RGB
150, 175, 73
HSL
75°, 41%, 49%
CMYK
14, 0, 58, 31
Luminance
0.3763

Every format

HEX#96af49
RGBrgb(150, 175, 73)
HSLhsl(75, 41%, 49%)
CMYKcmyk(14%, 0%, 58%, 31%)
LABlab(67.7 -23.9 48.4)
LCHlch(67.7 54.0 116.3)
OKLCHoklch(0.714 0.132 121.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#96af49 on white: 2.46:1
AA ✗ fail · AA-large · AAA
Aa
#96af49 on black: 8.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green68.6%
Blue28.6%

CMYK percentages

Cyan14.3%
Magenta0.0%
Yellow58.3%
Key (black)31.4%

Color previews

#96af49 text on a black background

contrast 8.53:1

Card sample

#96af49 text on a white background

contrast 2.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #96af49;
Background color
Panel with #96af49 background
background-color: #96af49;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #96af49;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #96af49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #96af49 in the Color Lab