Skip to content
Vectorlight.net

#d97c2f

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

HEX
#d97c2f
RGB
217, 124, 47
HSL
27.18°, 69.11%, 51.76%
OKLCH
0.68 0.14 55.83
Names
—
Lists

Codes

FormatValue
HEX#d97c2f
RGBrgb(217 124 47)
HSLhsl(27.18 69.11% 51.76%)
OKLCHoklch(0.68 0.14 55.83)
CMYKcmyk(0% 42.86% 78.34% 14.9%)
Android#ffd97c2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.05:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.87: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="#d97c2f"
Gradient stop
<stop stop-color="#d97c2f"/>
CSS variable + fill
:root { --c: #d97c2f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #d97c2f;
background-color: #d97c2f;
bg-[#d97c2f]