Skip to content
Vectorlight.net

#afc140

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

HEX
#afc140
RGB
175, 193, 64
HSL
68.37°, 50.99%, 50.39%
OKLCH
0.77 0.15 116.93
Names
—
Lists

Codes

FormatValue
HEX#afc140
RGBrgb(175 193 64)
HSLhsl(68.37 50.99% 50.39%)
OKLCHoklch(0.77 0.15 116.93)
CMYKcmyk(9.33% 0% 66.84% 24.31%)
Android#ffafc140

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

Recolor an SVG with this color

CSS

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