Skip to content
Vectorlight.net

#f9f331

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

HEX
#f9f331
RGB
249, 243, 49
HSL
58.2°, 94.34%, 58.43%
OKLCH
0.94 0.19 107.66
Names
—
Lists

Codes

FormatValue
HEX#f9f331
RGBrgb(249 243 49)
HSLhsl(58.2 94.34% 58.43%)
OKLCHoklch(0.94 0.19 107.66)
CMYKcmyk(0% 2.41% 80.32% 2.35%)
Android#fff9f331

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

Recolor an SVG with this color

CSS

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