#a38012
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 | #a38012 | |
| RGB | rgb(163 128 18) | |
| HSL | hsl(45.52 80.11% 35.49%) | |
| OKLCH | oklch(0.62 0.12 88.47) | |
| CMYK | cmyk(0% 21.47% 88.96% 36.08%) | |
| Android | #ffa38012 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.71:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.65: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="#a38012"
Gradient stop
<stop stop-color="#a38012"/>
CSS variable + fill
:root { --c: #a38012; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a38012; background-color: #a38012; bg-[#a38012]