#afd73a
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #afd73a | |
| RGB | rgb(175 215 58) | |
| HSL | hsl(75.29 66.24% 53.53%) | |
| OKLCH | oklch(0.82 0.18 123.11) | |
| CMYK | cmyk(18.6% 0% 73.02% 15.69%) | |
| Android | #ffafd73a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.66:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.60:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#afd73a"
Gradient stop
<stop stop-color="#afd73a"/>
CSS variable + fill
:root { --c: #afd73a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afd73a; background-color: #afd73a; bg-[#afd73a]