Skip to content
Vectorlight.net

#fef131

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

HEX
#fef131
RGB
254, 241, 49
HSL
56.2°, 99.03%, 59.41%
OKLCH
0.94 0.19 105.3
Names
—
Lists

Codes

FormatValue
HEX#fef131
RGBrgb(254 241 49)
HSLhsl(56.2 99.03% 59.41%)
OKLCHoklch(0.94 0.19 105.3)
CMYKcmyk(0% 5.12% 80.71% 0.39%)
Android#fffef131

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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