Skip to content
Vectorlight.net

#ffcc78

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

HEX
#ffcc78
RGB
255, 204, 120
HSL
37.33°, 100%, 73.53%
OKLCH
0.87 0.12 78.76
Names
—
Lists

Codes

FormatValue
HEX#ffcc78
RGBrgb(255 204 120)
HSLhsl(37.33 100% 73.53%)
OKLCHoklch(0.87 0.12 78.76)
CMYKcmyk(0% 20% 52.94% 0%)
Android#ffffcc78

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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