Skip to content
Vectorlight.net

#afc126

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

HEX
#afc126
RGB
175, 193, 38
HSL
66.97°, 67.1%, 45.29%
OKLCH
0.77 0.17 116.52
Names
—
Lists

Codes

FormatValue
HEX#afc126
RGBrgb(175 193 38)
HSLhsl(66.97 67.1% 45.29%)
OKLCHoklch(0.77 0.17 116.52)
CMYKcmyk(9.33% 0% 80.31% 24.31%)
Android#ffafc126

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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