#f7e366
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 | #f7e366 | |
| RGB | rgb(247 227 102) | |
| HSL | hsl(51.72 90.06% 68.43%) | |
| OKLCH | oklch(0.91 0.15 100.29) | |
| CMYK | cmyk(0% 8.1% 58.7% 3.14%) | |
| Android | #fff7e366 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.30:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.13: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="#f7e366"
Gradient stop
<stop stop-color="#f7e366"/>
CSS variable + fill
:root { --c: #f7e366; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f7e366; background-color: #f7e366; bg-[#f7e366]