Skip to content
Vectorlight.net

#ffb222

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

HEX
#ffb222
RGB
255, 178, 34
HSL
39.1°, 100%, 56.67%
OKLCH
0.82 0.16 75.99
Names
—
Lists

Codes

FormatValue
HEX#ffb222
RGBrgb(255 178 34)
HSLhsl(39.1 100% 56.67%)
OKLCHoklch(0.82 0.16 75.99)
CMYKcmyk(0% 30.2% 86.67% 0%)
Android#ffffb222

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

Recolor an SVG with this color

CSS

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