#f0ccaf
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 | #f0ccaf | |
| RGB | rgb(240 204 175) | |
| HSL | hsl(26.77 68.42% 81.37%) | |
| OKLCH | oklch(0.87 0.06 60.82) | |
| CMYK | cmyk(0% 15% 27.08% 5.88%) | |
| Android | #fff0ccaf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.50:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.96: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="#f0ccaf"
Gradient stop
<stop stop-color="#f0ccaf"/>
CSS variable + fill
:root { --c: #f0ccaf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0ccaf; background-color: #f0ccaf; bg-[#f0ccaf]