#bad271
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 | #bad271 | |
| RGB | rgb(186 210 113) | |
| HSL | hsl(74.85 51.87% 63.33%) | |
| OKLCH | oklch(0.82 0.13 120.65) | |
| CMYK | cmyk(11.43% 0% 46.19% 17.65%) | |
| Android | #ffbad271 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.67:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.54: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="#bad271"
Gradient stop
<stop stop-color="#bad271"/>
CSS variable + fill
:root { --c: #bad271; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bad271; background-color: #bad271; bg-[#bad271]