Skip to content
Vectorlight.net

#ffd87f

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

HEX
#ffd87f
RGB
255, 216, 127
HSL
41.72°, 100%, 74.9%
OKLCH
0.9 0.12 86.4
Names
—
Lists

Codes

FormatValue
HEX#ffd87f
RGBrgb(255 216 127)
HSLhsl(41.72 100% 74.9%)
OKLCHoklch(0.9 0.12 86.4)
CMYKcmyk(0% 15.29% 50.2% 0%)
Android#ffffd87f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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