#cd9f38
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 | #cd9f38 | |
| RGB | rgb(205 159 56) | |
| HSL | hsl(41.48 59.84% 51.18%) | |
| OKLCH | oklch(0.73 0.13 83.8) | |
| CMYK | cmyk(0% 22.44% 72.68% 19.61%) | |
| Android | #ffcd9f38 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.43:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.61: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="#cd9f38"
Gradient stop
<stop stop-color="#cd9f38"/>
CSS variable + fill
:root { --c: #cd9f38; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd9f38; background-color: #cd9f38; bg-[#cd9f38]