#afd350
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 | #afd350 | |
| RGB | rgb(175 211 80) | |
| HSL | hsl(76.49 59.82% 57.06%) | |
| OKLCH | oklch(0.82 0.16 123.07) | |
| CMYK | cmyk(17.06% 0% 62.09% 17.25%) | |
| Android | #ffafd350 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.71:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.25: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="#afd350"
Gradient stop
<stop stop-color="#afd350"/>
CSS variable + fill
:root { --c: #afd350; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afd350; background-color: #afd350; bg-[#afd350]