Skip to content
Vectorlight.net

#ffb21d

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

HEX
#ffb21d
RGB
255, 178, 29
HSL
39.56°, 100%, 55.69%
OKLCH
0.82 0.17 76.33
Names
—
Lists

Codes

FormatValue
HEX#ffb21d
RGBrgb(255 178 29)
HSLhsl(39.56 100% 55.69%)
OKLCHoklch(0.82 0.17 76.33)
CMYKcmyk(0% 30.2% 88.63% 0%)
Android#ffffb21d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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