#afbb27
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 | #afbb27 | |
| RGB | rgb(175 187 39) | |
| HSL | hsl(64.86 65.49% 44.31%) | |
| OKLCH | oklch(0.76 0.16 114.44) | |
| CMYK | cmyk(6.42% 0% 79.14% 26.67%) | |
| Android | #ffafbb27 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.10:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.96: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="#afbb27"
Gradient stop
<stop stop-color="#afbb27"/>
CSS variable + fill
:root { --c: #afbb27; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afbb27; background-color: #afbb27; bg-[#afbb27]