#afd83a
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 | #afd83a | |
| RGB | rgb(175 216 58) | |
| HSL | hsl(75.57 66.95% 53.73%) | |
| OKLCH | oklch(0.82 0.18 123.34) | |
| CMYK | cmyk(18.98% 0% 73.15% 15.29%) | |
| Android | #ffafd83a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.65:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.70: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="#afd83a"
Gradient stop
<stop stop-color="#afd83a"/>
CSS variable + fill
:root { --c: #afd83a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afd83a; background-color: #afd83a; bg-[#afd83a]