#f7c242
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 | #f7c242 | |
| RGB | rgb(247 194 66) | |
| HSL | hsl(42.43 91.88% 61.37%) | |
| OKLCH | oklch(0.84 0.15 85.27) | |
| CMYK | cmyk(0% 21.46% 73.28% 3.14%) | |
| Android | #fff7c242 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.64:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.75: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="#f7c242"
Gradient stop
<stop stop-color="#f7c242"/>
CSS variable + fill
:root { --c: #f7c242; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f7c242; background-color: #f7c242; bg-[#f7c242]