Skip to content
Vectorlight.net

#dfba21

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

HEX
#dfba21
RGB
223, 186, 33
HSL
48.32°, 74.8%, 50.2%
OKLCH
0.8 0.16 93.66
Names
—
Lists

Codes

FormatValue
HEX#dfba21
RGBrgb(223 186 33)
HSLhsl(48.32 74.8% 50.2%)
OKLCHoklch(0.8 0.16 93.66)
CMYKcmyk(0% 16.59% 85.2% 12.55%)
Android#ffdfba21

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="#dfba21"
Gradient stop
<stop stop-color="#dfba21"/>
CSS variable + fill
:root { --c: #dfba21; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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