Skip to content
Vectorlight.net

#f2b64a

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

HEX
#f2b64a
RGB
242, 182, 74
HSL
38.57°, 86.6%, 61.96%
OKLCH
0.81 0.14 78.95
Names
—
Lists

Codes

FormatValue
HEX#f2b64a
RGBrgb(242 182 74)
HSLhsl(38.57 86.6% 61.96%)
OKLCHoklch(0.81 0.14 78.95)
CMYKcmyk(0% 24.79% 69.42% 5.1%)
Android#fff2b64a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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