#987128
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 | #987128 | |
| RGB | rgb(152 113 40) | |
| HSL | hsl(39.11 58.33% 37.65%) | |
| OKLCH | oklch(0.57 0.1 79.61) | |
| CMYK | cmyk(0% 25.66% 73.68% 40.39%) | |
| Android | #ff987128 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.44:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.72: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="#987128"
Gradient stop
<stop stop-color="#987128"/>
CSS variable + fill
:root { --c: #987128; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #987128; background-color: #987128; bg-[#987128]