#f2e707
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 | #f2e707 | |
| RGB | rgb(242 231 7) | |
| HSL | hsl(57.19 94.38% 48.82%) | |
| OKLCH | oklch(0.91 0.19 106.14) | |
| CMYK | cmyk(0% 4.55% 97.11% 5.1%) | |
| Android | #fff2e707 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.29:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.20: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="#f2e707"
Gradient stop
<stop stop-color="#f2e707"/>
CSS variable + fill
:root { --c: #f2e707; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f2e707; background-color: #f2e707; bg-[#f2e707]