#4b795e
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 | #4b795e | |
| RGB | rgb(75 121 94) | |
| HSL | hsl(144.78 23.47% 38.43%) | |
| OKLCH | oklch(0.53 0.07 157.47) | |
| CMYK | cmyk(38.02% 0% 22.31% 52.55%) | |
| Android | #ff4b795e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.00:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.19:1
Fail AA normal text
Pass 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="#4b795e"
Gradient stop
<stop stop-color="#4b795e"/>
CSS variable + fill
:root { --c: #4b795e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4b795e; background-color: #4b795e; bg-[#4b795e]