#f1ec4e
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 | #f1ec4e | |
| RGB | rgb(241 236 78) | |
| HSL | hsl(58.16 85.34% 62.55%) | |
| OKLCH | oklch(0.92 0.17 107.55) | |
| CMYK | cmyk(0% 2.07% 67.63% 5.49%) | |
| Android | #fff1ec4e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.24:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.84: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="#f1ec4e"
Gradient stop
<stop stop-color="#f1ec4e"/>
CSS variable + fill
:root { --c: #f1ec4e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f1ec4e; background-color: #f1ec4e; bg-[#f1ec4e]