#cfb313
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 | #cfb313 | |
| RGB | rgb(207 179 19) | |
| HSL | hsl(51.06 83.19% 44.31%) | |
| OKLCH | oklch(0.77 0.16 97.51) | |
| CMYK | cmyk(0% 13.53% 90.82% 18.82%) | |
| Android | #ffcfb313 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.07:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.11: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="#cfb313"
Gradient stop
<stop stop-color="#cfb313"/>
CSS variable + fill
:root { --c: #cfb313; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cfb313; background-color: #cfb313; bg-[#cfb313]