#cd9d20
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 | #cd9d20 | |
| RGB | rgb(205 157 32) | |
| HSL | hsl(43.35 73% 46.47%) | |
| OKLCH | oklch(0.72 0.14 85.1) | |
| CMYK | cmyk(0% 23.41% 84.39% 19.61%) | |
| Android | #ffcd9d20 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.48:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.43: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="#cd9d20"
Gradient stop
<stop stop-color="#cd9d20"/>
CSS variable + fill
:root { --c: #cd9d20; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd9d20; background-color: #cd9d20; bg-[#cd9d20]