#afb495
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 | #afb495 | |
| RGB | rgb(175 180 149) | |
| HSL | hsl(69.68 17.13% 64.51%) | |
| OKLCH | oklch(0.76 0.04 114.88) | |
| CMYK | cmyk(2.78% 0% 17.22% 29.41%) | |
| Android | #ffafb495 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.14:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.78: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="#afb495"
Gradient stop
<stop stop-color="#afb495"/>
CSS variable + fill
:root { --c: #afb495; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afb495; background-color: #afb495; bg-[#afb495]