#ba995f
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 | #ba995f | |
| RGB | rgb(186 153 95) | |
| HSL | hsl(38.24 39.74% 55.1%) | |
| OKLCH | oklch(0.7 0.09 80.74) | |
| CMYK | cmyk(0% 17.74% 48.92% 27.06%) | |
| Android | #ffba995f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.68:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.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="#ba995f"
Gradient stop
<stop stop-color="#ba995f"/>
CSS variable + fill
:root { --c: #ba995f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba995f; background-color: #ba995f; bg-[#ba995f]