Skip to content
Vectorlight.net

#fef266

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

HEX
#fef266
RGB
254, 242, 102
HSL
55.26°, 98.7%, 69.8%
OKLCH
0.94 0.16 104.41
Names
—
Lists

Codes

FormatValue
HEX#fef266
RGBrgb(254 242 102)
HSLhsl(55.26 98.7% 69.8%)
OKLCHoklch(0.94 0.16 104.41)
CMYKcmyk(0% 4.72% 59.84% 0.39%)
Android#fffef266

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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