Skip to content
Vectorlight.net

#ffffaf

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

HEX
#ffffaf
RGB
255, 255, 175
HSL
60°, 100%, 84.31%
OKLCH
0.98 0.1 108.11
Names
—
Lists

Codes

FormatValue
HEX#ffffaf
RGBrgb(255 255 175)
HSLhsl(60 100% 84.31%)
OKLCHoklch(0.98 0.1 108.11)
CMYKcmyk(0% 0% 31.37% 0%)
Android#ffffffaf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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