Skip to content
Vectorlight.net

#fec798

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

HEX
#fec798
RGB
254, 199, 152
HSL
27.65°, 98.08%, 79.61%
OKLCH
0.87 0.09 61.79
Names
—
Lists

Codes

FormatValue
HEX#fec798
RGBrgb(254 199 152)
HSLhsl(27.65 98.08% 79.61%)
OKLCHoklch(0.87 0.09 61.79)
CMYKcmyk(0% 21.65% 40.16% 0.39%)
Android#fffec798

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.83: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="#fec798"
Gradient stop
<stop stop-color="#fec798"/>
CSS variable + fill
:root { --c: #fec798; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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