Skip to content
Vectorlight.net

#fffb8a

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

HEX
#fffb8a
RGB
255, 251, 138
HSL
57.95°, 100%, 77.06%
OKLCH
0.97 0.14 106.88
Names
—
Lists

Codes

FormatValue
HEX#fffb8a
RGBrgb(255 251 138)
HSLhsl(57.95 100% 77.06%)
OKLCHoklch(0.97 0.14 106.88)
CMYKcmyk(0% 1.57% 45.88% 0%)
Android#fffffb8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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