Skip to content
Vectorlight.net

#af940c

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

HEX
#af940c
RGB
175, 148, 12
HSL
50.06°, 87.17%, 36.67%
OKLCH
0.67 0.14 95.71
Names
—
Lists

Codes

FormatValue
HEX#af940c
RGBrgb(175 148 12)
HSLhsl(50.06 87.17% 36.67%)
OKLCHoklch(0.67 0.14 95.71)
CMYKcmyk(0% 15.43% 93.14% 31.37%)
Android#ffaf940c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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