Skip to content
Vectorlight.net

#d5940a

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

HEX
#d5940a
RGB
213, 148, 10
HSL
40.79°, 91.03%, 43.73%
OKLCH
0.71 0.15 77.01
Names
—
Lists

Codes

FormatValue
HEX#d5940a
RGBrgb(213 148 10)
HSLhsl(40.79 91.03% 43.73%)
OKLCHoklch(0.71 0.15 77.01)
CMYKcmyk(0% 30.52% 95.31% 16.47%)
Android#ffd5940a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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