Skip to content
Vectorlight.net

#dfac0f

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

HEX
#dfac0f
RGB
223, 172, 15
HSL
45.29°, 87.39%, 46.67%
OKLCH
0.77 0.16 86.71
Names
—
Lists

Codes

FormatValue
HEX#dfac0f
RGBrgb(223 172 15)
HSLhsl(45.29 87.39% 46.67%)
OKLCHoklch(0.77 0.16 86.71)
CMYKcmyk(0% 22.87% 93.27% 12.55%)
Android#ffdfac0f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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