Skip to content
Vectorlight.net

#ffb342

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

HEX
#ffb342
RGB
255, 179, 66
HSL
35.87°, 100%, 62.94%
OKLCH
0.82 0.15 72.94
Names
—
Lists

Codes

FormatValue
HEX#ffb342
RGBrgb(255 179 66)
HSLhsl(35.87 100% 62.94%)
OKLCHoklch(0.82 0.15 72.94)
CMYKcmyk(0% 29.8% 74.12% 0%)
Android#ffffb342

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

Recolor an SVG with this color

CSS

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