Skip to content
Vectorlight.net

#ffc304

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

HEX
#ffc304
RGB
255, 195, 4
HSL
45.66°, 100%, 50.78%
OKLCH
0.85 0.17 85.99
Names
—
Lists

Codes

FormatValue
HEX#ffc304
RGBrgb(255 195 4)
HSLhsl(45.66 100% 50.78%)
OKLCHoklch(0.85 0.17 85.99)
CMYKcmyk(0% 23.53% 98.43% 0%)
Android#ffffc304

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

Recolor an SVG with this color

CSS

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