Skip to content
Vectorlight.net

#ffdc00

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

HEX
#ffdc00
RGB
255, 220, 0
HSL
51.76°, 100%, 50%
OKLCH
0.9 0.19 97.44
Names
—
Lists

Codes

FormatValue
HEX#ffdc00
RGBrgb(255 220 0)
HSLhsl(51.76 100% 50%)
OKLCHoklch(0.9 0.19 97.44)
CMYKcmyk(0% 13.73% 100% 0%)
Android#ffffdc00

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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