#30581e
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 | #30581e | |
| RGB | rgb(48 88 30) | |
| HSL | hsl(101.38 49.15% 23.14%) | |
| OKLCH | oklch(0.42 0.1 137.24) | |
| CMYK | cmyk(45.45% 0% 65.91% 65.49%) | |
| Android | #ff30581e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.26: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="#30581e"
Gradient stop
<stop stop-color="#30581e"/>
CSS variable + fill
:root { --c: #30581e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #30581e; background-color: #30581e; bg-[#30581e]