Skip to content
Vectorlight.net

#f1d87f

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

HEX
#f1d87f
RGB
241, 216, 127
HSL
46.84°, 80.28%, 72.16%
OKLCH
0.88 0.11 94.16
Names
—
Lists

Codes

FormatValue
HEX#f1d87f
RGBrgb(241 216 127)
HSLhsl(46.84 80.28% 72.16%)
OKLCHoklch(0.88 0.11 94.16)
CMYKcmyk(0% 10.37% 47.3% 5.49%)
Android#fff1d87f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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