Skip to content
Vectorlight.net

#dfb102

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

HEX
#dfb102
RGB
223, 177, 2
HSL
47.51°, 98.22%, 44.12%
OKLCH
0.78 0.16 89.77
Names
—
Lists

Codes

FormatValue
HEX#dfb102
RGBrgb(223 177 2)
HSLhsl(47.51 98.22% 44.12%)
OKLCHoklch(0.78 0.16 89.77)
CMYKcmyk(0% 20.63% 99.1% 12.55%)
Android#ffdfb102

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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