Skip to content
Vectorlight.net

#ffdb04

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

HEX
#ffdb04
RGB
255, 219, 4
HSL
51.39°, 100%, 50.78%
OKLCH
0.89 0.18 96.99
Names
—
Lists

Codes

FormatValue
HEX#ffdb04
RGBrgb(255 219 4)
HSLhsl(51.39 100% 50.78%)
OKLCHoklch(0.89 0.18 96.99)
CMYKcmyk(0% 14.12% 98.43% 0%)
Android#ffffdb04

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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