#ffba74
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 | #ffba74 | |
| RGB | rgb(255 186 116) | |
| HSL | hsl(30.22 100% 72.75%) | |
| OKLCH | oklch(0.84 0.12 65.41) | |
| CMYK | cmyk(0% 27.06% 54.51% 0%) | |
| Android | #ffffba74 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.67:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.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="#ffba74"
Gradient stop
<stop stop-color="#ffba74"/>
CSS variable + fill
:root { --c: #ffba74; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffba74; background-color: #ffba74; bg-[#ffba74]