#f2e477
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 | #f2e477 | |
| RGB | rgb(242 228 119) | |
| HSL | hsl(53.17 82.55% 70.78%) | |
| OKLCH | oklch(0.91 0.13 102.04) | |
| CMYK | cmyk(0% 5.79% 50.83% 5.1%) | |
| Android | #fff2e477 |
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="#f2e477"
Gradient stop
<stop stop-color="#f2e477"/>
CSS variable + fill
:root { --c: #f2e477; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f2e477; background-color: #f2e477; bg-[#f2e477]