Skip to content
Vectorlight.net

#f9f062

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

HEX
#f9f062
RGB
249, 240, 98
HSL
56.42°, 92.64%, 68.04%
OKLCH
0.94 0.16 105.67
Names
—
Lists

Codes

FormatValue
HEX#f9f062
RGBrgb(249 240 98)
HSLhsl(56.42 92.64% 68.04%)
OKLCHoklch(0.94 0.16 105.67)
CMYKcmyk(0% 3.61% 60.64% 2.35%)
Android#fff9f062

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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