#f0b448
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 | #f0b448 | |
| RGB | rgb(240 180 72) | |
| HSL | hsl(38.57 84.85% 61.18%) | |
| OKLCH | oklch(0.81 0.14 78.86) | |
| CMYK | cmyk(0% 25% 70% 5.88%) | |
| Android | #fff0b448 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.85:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.32: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="#f0b448"
Gradient stop
<stop stop-color="#f0b448"/>
CSS variable + fill
:root { --c: #f0b448; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0b448; background-color: #f0b448; bg-[#f0b448]