#38571b
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 | #38571b | |
| RGB | rgb(56 87 27) | |
| HSL | hsl(91 52.63% 22.35%) | |
| OKLCH | oklch(0.42 0.09 132.45) | |
| CMYK | cmyk(35.63% 0% 68.97% 65.88%) | |
| Android | #ff38571b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.54: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="#38571b"
Gradient stop
<stop stop-color="#38571b"/>
CSS variable + fill
:root { --c: #38571b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #38571b; background-color: #38571b; bg-[#38571b]