#fafa52
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 | #fafa52 | |
| RGB | rgb(250 250 82) | |
| HSL | hsl(60 94.38% 65.1%) | |
| OKLCH | oklch(0.96 0.18 109.39) | |
| CMYK | cmyk(0% 0% 67.2% 1.96%) | |
| Android | #fffafa52 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.11:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
18.86: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="#fafa52"
Gradient stop
<stop stop-color="#fafa52"/>
CSS variable + fill
:root { --c: #fafa52; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fafa52; background-color: #fafa52; bg-[#fafa52]