Skip to content

#9da798

a balanced, muted gray · cool · closest name: silver

RGB
157, 167, 152
HSL
100°, 8%, 63%
CMYK
6, 0, 9, 35
Luminance
0.3707

Every format

HEX#9da798
RGBrgb(157, 167, 152)
HSLhsl(100, 8%, 63%)
CMYKcmyk(6%, 0%, 9%, 35%)
LABlab(67.3 -6.4 6.5)
LCHlch(67.3 9.2 134.3)
OKLCHoklch(0.716 0.024 135.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da798 on white: 2.50:1
AA ✗ fail · AA-large · AAA
Aa
#9da798 on black: 8.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green65.5%
Blue59.6%

CMYK percentages

Cyan6.0%
Magenta0.0%
Yellow9.0%
Key (black)34.5%

Color previews

#9da798 text on a black background

contrast 8.41:1

Card sample

#9da798 text on a white background

contrast 2.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 167, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 167, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9da798;
background: linear-gradient(135deg, #9da798, #98A79D);

Monochromatic scale

Palettes built from #9da798

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da798 in the Color Lab