#afe73a
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 | #afe73a | |
| RGB | rgb(175 231 58) | |
| HSL | hsl(79.42 78.28% 56.67%) | |
| OKLCH | oklch(0.86 0.2 126.39) | |
| CMYK | cmyk(24.24% 0% 74.89% 9.41%) | |
| Android | #ffafe73a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.46:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.31: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="#afe73a"
Gradient stop
<stop stop-color="#afe73a"/>
CSS variable + fill
:root { --c: #afe73a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afe73a; background-color: #afe73a; bg-[#afe73a]