#f2ba2a
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 | #f2ba2a | |
| RGB | rgb(242 186 42) | |
| HSL | hsl(43.2 88.5% 55.69%) | |
| OKLCH | oklch(0.82 0.16 85) | |
| CMYK | cmyk(0% 23.14% 82.64% 5.1%) | |
| Android | #fff2ba2a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.77:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.83: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="#f2ba2a"
Gradient stop
<stop stop-color="#f2ba2a"/>
CSS variable + fill
:root { --c: #f2ba2a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f2ba2a; background-color: #f2ba2a; bg-[#f2ba2a]