Skip to content
Vectorlight.net

#ffffba

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

HEX
#ffffba
RGB
255, 255, 186
HSL
60°, 100%, 86.47%
OKLCH
0.98 0.09 107.9
Names
—
Lists

Codes

FormatValue
HEX#ffffba
RGBrgb(255 255 186)
HSLhsl(60 100% 86.47%)
OKLCHoklch(0.98 0.09 107.9)
CMYKcmyk(0% 0% 27.06% 0%)
Android#ffffffba

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.26: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="#ffffba"
Gradient stop
<stop stop-color="#ffffba"/>
CSS variable + fill
:root { --c: #ffffba; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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