Skip to content
Vectorlight.net

#d97f2f

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

HEX
#d97f2f
RGB
217, 127, 47
HSL
28.24°, 69.11%, 51.76%
OKLCH
0.68 0.14 57.7
Names
—
Lists

Codes

FormatValue
HEX#d97f2f
RGBrgb(217 127 47)
HSLhsl(28.24 69.11% 51.76%)
OKLCHoklch(0.68 0.14 57.7)
CMYKcmyk(0% 41.47% 78.34% 14.9%)
Android#ffd97f2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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