Skip to content
Vectorlight.net

#d79a02

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

HEX
#d79a02
RGB
215, 154, 2
HSL
42.82°, 98.16%, 42.55%
OKLCH
0.73 0.15 80.12
Names
—
Lists

Codes

FormatValue
HEX#d79a02
RGBrgb(215 154 2)
HSLhsl(42.82 98.16% 42.55%)
OKLCHoklch(0.73 0.15 80.12)
CMYKcmyk(0% 28.37% 99.07% 15.69%)
Android#ffd79a02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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