Skip to content
Vectorlight.net

#d48c04

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

HEX
#d48c04
RGB
212, 140, 4
HSL
39.23°, 96.3%, 42.35%
OKLCH
0.7 0.15 72.71
Names
—
Lists

Codes

FormatValue
HEX#d48c04
RGBrgb(212 140 4)
HSLhsl(39.23 96.3% 42.35%)
OKLCHoklch(0.7 0.15 72.71)
CMYKcmyk(0% 33.96% 98.11% 16.86%)
Android#ffd48c04

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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