Skip to content
Vectorlight.net

#ffd305

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

HEX
#ffd305
RGB
255, 211, 5
HSL
49.44°, 100%, 50.98%
OKLCH
0.88 0.18 93.51
Names
—
Lists

Codes

FormatValue
HEX#ffd305
RGBrgb(255 211 5)
HSLhsl(49.44 100% 50.98%)
OKLCHoklch(0.88 0.18 93.51)
CMYKcmyk(0% 17.25% 98.04% 0%)
Android#ffffd305

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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