#afca17
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 | #afca17 | |
| RGB | rgb(175 202 23) | |
| HSL | hsl(69.05 79.56% 44.12%) | |
| OKLCH | oklch(0.79 0.18 119.09) | |
| CMYK | cmyk(13.37% 0% 88.61% 20.78%) | |
| Android | #ffafca17 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.86:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.28: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="#afca17"
Gradient stop
<stop stop-color="#afca17"/>
CSS variable + fill
:root { --c: #afca17; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afca17; background-color: #afca17; bg-[#afca17]