#b2c970
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 | #b2c970 | |
| RGB | rgb(178 201 112) | |
| HSL | hsl(75.51 45.18% 61.37%) | |
| OKLCH | oklch(0.8 0.12 121) | |
| CMYK | cmyk(11.44% 0% 44.28% 21.18%) | |
| Android | #ffb2c970 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.82:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.48: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="#b2c970"
Gradient stop
<stop stop-color="#b2c970"/>
CSS variable + fill
:root { --c: #b2c970; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b2c970; background-color: #b2c970; bg-[#b2c970]