#b7c021
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 | #b7c021 | |
| RGB | rgb(183 192 33) | |
| HSL | hsl(63.4 70.67% 44.12%) | |
| OKLCH | oklch(0.78 0.17 113.16) | |
| CMYK | cmyk(4.69% 0% 82.81% 24.71%) | |
| Android | #ffb7c021 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.98:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.57: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="#b7c021"
Gradient stop
<stop stop-color="#b7c021"/>
CSS variable + fill
:root { --c: #b7c021; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b7c021; background-color: #b7c021; bg-[#b7c021]