Skip to content
Vectorlight.net

#fdf97f

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

HEX
#fdf97f
RGB
253, 249, 127
HSL
58.1°, 96.92%, 74.51%
OKLCH
0.96 0.14 107.13
Names
—
Lists

Codes

FormatValue
HEX#fdf97f
RGBrgb(253 249 127)
HSLhsl(58.1 96.92% 74.51%)
OKLCHoklch(0.96 0.14 107.13)
CMYKcmyk(0% 1.58% 49.8% 0.78%)
Android#fffdf97f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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