#38731b
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 | #38731b | |
| RGB | rgb(56 115 27) | |
| HSL | hsl(100.23 61.97% 27.84%) | |
| OKLCH | oklch(0.5 0.13 137.45) | |
| CMYK | cmyk(51.3% 0% 76.52% 54.9%) | |
| Android | #ff38731b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.63: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="#38731b"
Gradient stop
<stop stop-color="#38731b"/>
CSS variable + fill
:root { --c: #38731b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #38731b; background-color: #38731b; bg-[#38731b]