#296152
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 | #296152 | |
| RGB | rgb(41 97 82) | |
| HSL | hsl(163.93 40.58% 27.06%) | |
| OKLCH | oklch(0.45 0.06 173.21) | |
| CMYK | cmyk(57.73% 0% 15.46% 61.96%) | |
| Android | #ff296152 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.17:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.92:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#296152"
Gradient stop
<stop stop-color="#296152"/>
CSS variable + fill
:root { --c: #296152; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #296152; background-color: #296152; bg-[#296152]