Skip to content
Vectorlight.net

#ffcd2a

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

HEX
#ffcd2a
RGB
255, 205, 42
HSL
45.92°, 100%, 58.24%
OKLCH
0.87 0.17 89.7
Names
—
Lists

Codes

FormatValue
HEX#ffcd2a
RGBrgb(255 205 42)
HSLhsl(45.92 100% 58.24%)
OKLCHoklch(0.87 0.17 89.7)
CMYKcmyk(0% 19.61% 83.53% 0%)
Android#ffffcd2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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