#a5b602
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 | #a5b602 | |
| RGB | rgb(165 182 2) | |
| HSL | hsl(65.67 97.83% 36.08%) | |
| OKLCH | oklch(0.74 0.17 116.3) | |
| CMYK | cmyk(9.34% 0% 98.9% 28.63%) | |
| Android | #ffa5b602 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.26:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.29: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="#a5b602"
Gradient stop
<stop stop-color="#a5b602"/>
CSS variable + fill
:root { --c: #a5b602; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a5b602; background-color: #a5b602; bg-[#a5b602]