Skip to content
Vectorlight.net

#ffcd1a

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

HEX
#ffcd1a
RGB
255, 205, 26
HSL
46.9°, 100%, 55.1%
OKLCH
0.87 0.17 90.34
Names
—
Lists

Codes

FormatValue
HEX#ffcd1a
RGBrgb(255 205 26)
HSLhsl(46.9 100% 55.1%)
OKLCHoklch(0.87 0.17 90.34)
CMYKcmyk(0% 19.61% 89.8% 0%)
Android#ffffcd1a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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