#f7ef8a
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 | #f7ef8a | |
| RGB | rgb(247 239 138) | |
| HSL | hsl(55.6 87.2% 75.49%) | |
| OKLCH | oklch(0.94 0.12 104.54) | |
| CMYK | cmyk(0% 3.24% 44.13% 3.14%) | |
| Android | #fff7ef8a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.18:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.66: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="#f7ef8a"
Gradient stop
<stop stop-color="#f7ef8a"/>
CSS variable + fill
:root { --c: #f7ef8a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f7ef8a; background-color: #f7ef8a; bg-[#f7ef8a]