Skip to content
Vectorlight.net

#ffc305

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

HEX
#ffc305
RGB
255, 195, 5
HSL
45.6°, 100%, 50.98%
OKLCH
0.85 0.17 85.97
Names
—
Lists

Codes

FormatValue
HEX#ffc305
RGBrgb(255 195 5)
HSLhsl(45.6 100% 50.98%)
OKLCHoklch(0.85 0.17 85.97)
CMYKcmyk(0% 23.53% 98.04% 0%)
Android#ffffc305

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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