Skip to content
Vectorlight.net

#ffac0b

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

HEX
#ffac0b
RGB
255, 172, 11
HSL
39.59°, 100%, 52.16%
OKLCH
0.81 0.17 73.98
Names
—
Lists

Codes

FormatValue
HEX#ffac0b
RGBrgb(255 172 11)
HSLhsl(39.59 100% 52.16%)
OKLCHoklch(0.81 0.17 73.98)
CMYKcmyk(0% 32.55% 95.69% 0%)
Android#ffffac0b

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

Recolor an SVG with this color

CSS

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