#f7cd2c
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 | #f7cd2c | |
| RGB | rgb(247 205 44) | |
| HSL | hsl(47.59 92.69% 57.06%) | |
| OKLCH | oklch(0.86 0.17 92.79) | |
| CMYK | cmyk(0% 17% 82.19% 3.14%) | |
| Android | #fff7cd2c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.53:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.72: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="#f7cd2c"
Gradient stop
<stop stop-color="#f7cd2c"/>
CSS variable + fill
:root { --c: #f7cd2c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f7cd2c; background-color: #f7cd2c; bg-[#f7cd2c]