Skip to content
Vectorlight.net

#997b1f

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#997b1f
RGB
153, 123, 31
HSL
45.25°, 66.3%, 36.08%
OKLCH
0.6 0.11 89.55
Names
—
Lists

Codes

FormatValue
HEX#997b1f
RGBrgb(153 123 31)
HSLhsl(45.25 66.3% 36.08%)
OKLCHoklch(0.6 0.11 89.55)
CMYKcmyk(0% 19.61% 79.74% 40%)
Android#ff997b1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.20:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#997b1f"
Gradient stop
<stop stop-color="#997b1f"/>
CSS variable + fill
:root { --c: #997b1f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #997b1f;
background-color: #997b1f;
bg-[#997b1f]