Skip to content
Vectorlight.net

#d97f01

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

HEX
#d97f01
RGB
217, 127, 1
HSL
35°, 99.08%, 42.75%
OKLCH
0.68 0.15 63.1
Names
—
Lists

Codes

FormatValue
HEX#d97f01
RGBrgb(217 127 1)
HSLhsl(35 99.08% 42.75%)
OKLCHoklch(0.68 0.15 63.1)
CMYKcmyk(0% 41.47% 99.54% 14.9%)
Android#ffd97f01

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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