Skip to content

#97af64

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

RGB
151, 175, 100
HSL
79°, 32%, 54%
CMYK
14, 0, 43, 31
Luminance
0.3816

Every format

HEX#97af64
RGBrgb(151, 175, 100)
HSLhsl(79, 32%, 54%)
CMYKcmyk(14%, 0%, 43%, 31%)
LABlab(68.1 -20.8 35.7)
LCHlch(68.1 41.3 120.2)
OKLCHoklch(0.718 0.104 123.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#97af64 on white: 2.43:1
AA ✗ fail · AA-large · AAA
Aa
#97af64 on black: 8.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red59.2%
Green68.6%
Blue39.2%

CMYK percentages

Cyan13.7%
Magenta0.0%
Yellow42.9%
Key (black)31.4%

Color previews

#97af64 text on a black background

contrast 8.63:1

Card sample

#97af64 text on a white background

contrast 2.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #97af64;
Background color
Panel with #97af64 background
background-color: #97af64;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #97af64;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(151, 175, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 175, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #97af64;
background: linear-gradient(135deg, #97af64, #65AF64);

Monochromatic scale

Palettes built from #97af64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #97af64 in the Color Lab