Skip to content
Vectorlight.net

#fff166

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

HEX
#fff166
RGB
255, 241, 102
HSL
54.51°, 100%, 70%
OKLCH
0.94 0.16 103.57
Names
—
Lists

Codes

FormatValue
HEX#fff166
RGBrgb(255 241 102)
HSLhsl(54.51 100% 70%)
OKLCHoklch(0.94 0.16 103.57)
CMYKcmyk(0% 5.49% 60% 0%)
Android#fffff166

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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