#bfaf98
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 | #bfaf98 | |
| RGB | rgb(191 175 152) | |
| HSL | hsl(35.38 23.35% 67.25%) | |
| OKLCH | oklch(0.76 0.04 76.99) | |
| CMYK | cmyk(0% 8.38% 20.42% 25.1%) | |
| Android | #ffbfaf98 |
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.80: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="#bfaf98"
Gradient stop
<stop stop-color="#bfaf98"/>
CSS variable + fill
:root { --c: #bfaf98; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bfaf98; background-color: #bfaf98; bg-[#bfaf98]