Skip to content
Vectorlight.net

#f6a802

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

HEX
#f6a802
RGB
246, 168, 2
HSL
40.82°, 98.39%, 48.63%
OKLCH
0.79 0.17 75.44
Names
—
Lists

Codes

FormatValue
HEX#f6a802
RGBrgb(246 168 2)
HSLhsl(40.82 98.39% 48.63%)
OKLCHoklch(0.79 0.17 75.44)
CMYKcmyk(0% 31.71% 99.19% 3.53%)
Android#fff6a802

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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