#cfc70e
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 | #cfc70e | |
| RGB | rgb(207 199 14) | |
| HSL | hsl(57.51 87.33% 43.33%) | |
| OKLCH | oklch(0.81 0.17 106.7) | |
| CMYK | cmyk(0% 3.86% 93.24% 18.82%) | |
| Android | #ffcfc70e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.77:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.82: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="#cfc70e"
Gradient stop
<stop stop-color="#cfc70e"/>
CSS variable + fill
:root { --c: #cfc70e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cfc70e; background-color: #cfc70e; bg-[#cfc70e]