Skip to content
Vectorlight.net

#ffac0c

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

HEX
#ffac0c
RGB
255, 172, 12
HSL
39.51°, 100%, 52.35%
OKLCH
0.81 0.17 73.95
Names
—
Lists

Codes

FormatValue
HEX#ffac0c
RGBrgb(255 172 12)
HSLhsl(39.51 100% 52.35%)
OKLCHoklch(0.81 0.17 73.95)
CMYKcmyk(0% 32.55% 95.29% 0%)
Android#ffffac0c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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