#afd103
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 | #afd103 | |
| RGB | rgb(175 209 3) | |
| HSL | hsl(69.9 97.17% 41.57%) | |
| OKLCH | oklch(0.81 0.19 120.78) | |
| CMYK | cmyk(16.27% 0% 98.56% 18.04%) | |
| Android | #ffafd103 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.75:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.94: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="#afd103"
Gradient stop
<stop stop-color="#afd103"/>
CSS variable + fill
:root { --c: #afd103; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afd103; background-color: #afd103; bg-[#afd103]