#ffe7af
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 | #ffe7af | |
| RGB | rgb(255 231 175) | |
| HSL | hsl(42 100% 84.31%) | |
| OKLCH | oklch(0.93 0.08 87.49) | |
| CMYK | cmyk(0% 9.41% 31.37% 0%) | |
| Android | #ffffe7af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.21:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.30: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="#ffe7af"
Gradient stop
<stop stop-color="#ffe7af"/>
CSS variable + fill
:root { --c: #ffe7af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffe7af; background-color: #ffe7af; bg-[#ffe7af]