Skip to content
Vectorlight.net

#f2aa22

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

HEX
#f2aa22
RGB
242, 170, 34
HSL
39.23°, 88.89%, 54.12%
OKLCH
0.79 0.16 76.54
Names
—
Lists

Codes

FormatValue
HEX#f2aa22
RGBrgb(242 170 34)
HSLhsl(39.23 88.89% 54.12%)
OKLCHoklch(0.79 0.16 76.54)
CMYKcmyk(0% 29.75% 85.95% 5.1%)
Android#fff2aa22

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

Recolor an SVG with this color

CSS

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