Skip to content
Vectorlight.net

#f5bc2d

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

HEX
#f5bc2d
RGB
245, 188, 45
HSL
42.9°, 90.91%, 56.86%
OKLCH
0.83 0.16 84.64
Names
—
Lists

Codes

FormatValue
HEX#f5bc2d
RGBrgb(245 188 45)
HSLhsl(42.9 90.91% 56.86%)
OKLCHoklch(0.83 0.16 84.64)
CMYKcmyk(0% 23.27% 81.63% 3.92%)
Android#fff5bc2d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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