Skip to content
Vectorlight.net

#ffc40a

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

HEX
#ffc40a
RGB
255, 196, 10
HSL
45.55°, 100%, 51.96%
OKLCH
0.85 0.17 86.37
Names
—
Lists

Codes

FormatValue
HEX#ffc40a
RGBrgb(255 196 10)
HSLhsl(45.55 100% 51.96%)
OKLCHoklch(0.85 0.17 86.37)
CMYKcmyk(0% 23.14% 96.08% 0%)
Android#ffffc40a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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