Skip to content
Vectorlight.net

#ffb508

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

HEX
#ffb508
RGB
255, 181, 8
HSL
42.02°, 100%, 51.57%
OKLCH
0.82 0.17 78.78
Names
—
Lists

Codes

FormatValue
HEX#ffb508
RGBrgb(255 181 8)
HSLhsl(42.02 100% 51.57%)
OKLCHoklch(0.82 0.17 78.78)
CMYKcmyk(0% 29.02% 96.86% 0%)
Android#ffffb508

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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