Skip to content
Vectorlight.net

#ffc157

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

HEX
#ffc157
RGB
255, 193, 87
HSL
37.86°, 100%, 67.06%
OKLCH
0.85 0.14 78.17
Names
—
Lists

Codes

FormatValue
HEX#ffc157
RGBrgb(255 193 87)
HSLhsl(37.86 100% 67.06%)
OKLCHoklch(0.85 0.14 78.17)
CMYKcmyk(0% 24.31% 65.88% 0%)
Android#ffffc157

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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