#507152
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 | #507152 | |
| RGB | rgb(80 113 82) | |
| HSL | hsl(123.64 17.1% 37.84%) | |
| OKLCH | oklch(0.51 0.06 146.11) | |
| CMYK | cmyk(29.2% 0% 27.43% 55.69%) | |
| Android | #ff507152 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.49:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.82: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="#507152"
Gradient stop
<stop stop-color="#507152"/>
CSS variable + fill
:root { --c: #507152; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #507152; background-color: #507152; bg-[#507152]