Skip to content
Vectorlight.net

#ffb400

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

HEX
#ffb400
RGB
255, 180, 0
HSL
42.35°, 100%, 50%
OKLCH
0.82 0.17 78.47
Names
—
Lists

Codes

FormatValue
HEX#ffb400
RGBrgb(255 180 0)
HSLhsl(42.35 100% 50%)
OKLCHoklch(0.82 0.17 78.47)
CMYKcmyk(0% 29.41% 100% 0%)
Android#ffffb400

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

Recolor an SVG with this color

CSS

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