#ffaf50
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 | #ffaf50 | |
| RGB | rgb(255 175 80) | |
| HSL | hsl(32.57 100% 65.69%) | |
| OKLCH | oklch(0.81 0.14 67.77) | |
| CMYK | cmyk(0% 31.37% 68.63% 0%) | |
| Android | #ffffaf50 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.82:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.49: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="#ffaf50"
Gradient stop
<stop stop-color="#ffaf50"/>
CSS variable + fill
:root { --c: #ffaf50; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffaf50; background-color: #ffaf50; bg-[#ffaf50]