#f0ca8a
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 | #f0ca8a | |
| RGB | rgb(240 202 138) | |
| HSL | hsl(37.65 77.27% 74.12%) | |
| OKLCH | oklch(0.86 0.09 80.07) | |
| CMYK | cmyk(0% 15.83% 42.5% 5.88%) | |
| Android | #fff0ca8a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.55:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.52: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="#f0ca8a"
Gradient stop
<stop stop-color="#f0ca8a"/>
CSS variable + fill
:root { --c: #f0ca8a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0ca8a; background-color: #f0ca8a; bg-[#f0ca8a]