Skip to content
Vectorlight.net

#ffc796

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

HEX
#ffc796
RGB
255, 199, 150
HSL
28°, 100%, 79.41%
OKLCH
0.87 0.09 62.39
Names
—
Lists

Codes

FormatValue
HEX#ffc796
RGBrgb(255 199 150)
HSLhsl(28 100% 79.41%)
OKLCHoklch(0.87 0.09 62.39)
CMYKcmyk(0% 21.96% 41.18% 0%)
Android#ffffc796

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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