#bad02a
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 | #bad02a | |
| RGB | rgb(186 208 42) | |
| HSL | hsl(67.95 66.4% 49.02%) | |
| OKLCH | oklch(0.81 0.18 117.43) | |
| CMYK | cmyk(10.58% 0% 79.81% 18.43%) | |
| Android | #ffbad02a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.72:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.14: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="#bad02a"
Gradient stop
<stop stop-color="#bad02a"/>
CSS variable + fill
:root { --c: #bad02a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bad02a; background-color: #bad02a; bg-[#bad02a]