#cfbf2f
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 | #cfbf2f | |
| RGB | rgb(207 191 47) | |
| HSL | hsl(54 62.99% 49.8%) | |
| OKLCH | oklch(0.79 0.15 102.67) | |
| CMYK | cmyk(0% 7.73% 77.29% 18.82%) | |
| Android | #ffcfbf2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.88:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.14: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="#cfbf2f"
Gradient stop
<stop stop-color="#cfbf2f"/>
CSS variable + fill
:root { --c: #cfbf2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cfbf2f; background-color: #cfbf2f; bg-[#cfbf2f]