#f5f8ef
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 | #f5f8ef | |
| RGB | rgb(245 248 239) | |
| HSL | hsl(80 39.13% 95.49%) | |
| OKLCH | oklch(0.97 0.01 121.7) | |
| CMYK | cmyk(1.21% 0% 3.63% 2.75%) | |
| Android | #fff5f8ef |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.07:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
19.55: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="#f5f8ef"
Gradient stop
<stop stop-color="#f5f8ef"/>
CSS variable + fill
:root { --c: #f5f8ef; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f5f8ef; background-color: #f5f8ef; bg-[#f5f8ef]