Skip to content
Vectorlight.net

#ffb401

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

HEX
#ffb401
RGB
255, 180, 1
HSL
42.28°, 100%, 50.2%
OKLCH
0.82 0.17 78.44
Names
—
Lists

Codes

FormatValue
HEX#ffb401
RGBrgb(255 180 1)
HSLhsl(42.28 100% 50.2%)
OKLCHoklch(0.82 0.17 78.44)
CMYKcmyk(0% 29.41% 99.61% 0%)
Android#ffffb401

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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