#7b7828
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 | #7b7828 | |
| RGB | rgb(123 120 40) | |
| HSL | hsl(57.83 50.92% 31.96%) | |
| OKLCH | oklch(0.56 0.1 107.17) | |
| CMYK | cmyk(0% 2.44% 67.48% 51.76%) | |
| Android | #ff7b7828 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.55:1
Pass 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="#7b7828"
Gradient stop
<stop stop-color="#7b7828"/>
CSS variable + fill
:root { --c: #7b7828; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7b7828; background-color: #7b7828; bg-[#7b7828]