Skip to content
Vectorlight.net

#dfba20

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

HEX
#dfba20
RGB
223, 186, 32
HSL
48.38°, 74.9%, 50%
OKLCH
0.8 0.16 93.7
Names
—
Lists

Codes

FormatValue
HEX#dfba20
RGBrgb(223 186 32)
HSLhsl(48.38 74.9% 50%)
OKLCHoklch(0.8 0.16 93.7)
CMYKcmyk(0% 16.59% 85.65% 12.55%)
Android#ffdfba20

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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