#afae54
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 | #afae54 | |
| RGB | rgb(175 174 84) | |
| HSL | hsl(59.34 36.25% 50.78%) | |
| OKLCH | oklch(0.73 0.11 108.32) | |
| CMYK | cmyk(0% 0.57% 52% 31.37%) | |
| Android | #ffafae54 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.33:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.00: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="#afae54"
Gradient stop
<stop stop-color="#afae54"/>
CSS variable + fill
:root { --c: #afae54; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afae54; background-color: #afae54; bg-[#afae54]