Skip to content
Vectorlight.net

#fdf798

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

HEX
#fdf798
RGB
253, 247, 152
HSL
56.44°, 96.19%, 79.41%
OKLCH
0.96 0.12 105.25
Names
—
Lists

Codes

FormatValue
HEX#fdf798
RGBrgb(253 247 152)
HSLhsl(56.44 96.19% 79.41%)
OKLCHoklch(0.96 0.12 105.25)
CMYKcmyk(0% 2.37% 39.92% 0.78%)
Android#fffdf798

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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