#afcd98
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 | #afcd98 | |
| RGB | rgb(175 205 152) | |
| HSL | hsl(93.96 34.64% 70%) | |
| OKLCH | oklch(0.81 0.08 131.98) | |
| CMYK | cmyk(14.63% 0% 25.85% 19.61%) | |
| Android | #ffafcd98 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.74:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.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="#afcd98"
Gradient stop
<stop stop-color="#afcd98"/>
CSS variable + fill
:root { --c: #afcd98; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afcd98; background-color: #afcd98; bg-[#afcd98]