Skip to content
Vectorlight.net

#dcb308

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

HEX
#dcb308
RGB
220, 179, 8
HSL
48.4°, 92.98%, 44.71%
OKLCH
0.78 0.16 92.01
Names
—
Lists

Codes

FormatValue
HEX#dcb308
RGBrgb(220 179 8)
HSLhsl(48.4 92.98% 44.71%)
OKLCHoklch(0.78 0.16 92.01)
CMYKcmyk(0% 18.64% 96.36% 13.73%)
Android#ffdcb308

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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