#f1dc28
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 | #f1dc28 | |
| RGB | rgb(241 220 40) | |
| HSL | hsl(53.73 87.77% 55.1%) | |
| OKLCH | oklch(0.88 0.18 102.02) | |
| CMYK | cmyk(0% 8.71% 83.4% 5.49%) | |
| Android | #fff1dc28 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.39:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.00: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="#f1dc28"
Gradient stop
<stop stop-color="#f1dc28"/>
CSS variable + fill
:root { --c: #f1dc28; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f1dc28; background-color: #f1dc28; bg-[#f1dc28]