#afca14
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 | #afca14 | |
| RGB | rgb(175 202 20) | |
| HSL | hsl(68.9 81.98% 43.53%) | |
| OKLCH | oklch(0.79 0.18 119.06) | |
| CMYK | cmyk(13.37% 0% 90.1% 20.78%) | |
| Android | #ffafca14 |
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="#afca14"
Gradient stop
<stop stop-color="#afca14"/>
CSS variable + fill
:root { --c: #afca14; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afca14; background-color: #afca14; bg-[#afca14]