Skip to content
Vectorlight.net

#ffffb3

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

HEX
#ffffb3
RGB
255, 255, 179
HSL
60°, 100%, 85.1%
OKLCH
0.98 0.1 108.04
Names
—
Lists

Codes

FormatValue
HEX#ffffb3
RGBrgb(255 255 179)
HSLhsl(60 100% 85.1%)
OKLCHoklch(0.98 0.1 108.04)
CMYKcmyk(0% 0% 29.8% 0%)
Android#ffffffb3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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