Skip to content
Vectorlight.net

#ffca0c

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

HEX
#ffca0c
RGB
255, 202, 12
HSL
46.91°, 100%, 52.35%
OKLCH
0.86 0.17 89.25
Names
—
Lists

Codes

FormatValue
HEX#ffca0c
RGBrgb(255 202 12)
HSLhsl(46.91 100% 52.35%)
OKLCHoklch(0.86 0.17 89.25)
CMYKcmyk(0% 20.78% 95.29% 0%)
Android#ffffca0c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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