#18331a
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 | #18331a | |
| RGB | rgb(24 51 26) | |
| HSL | hsl(124.44 36% 14.71%) | |
| OKLCH | oklch(0.29 0.06 145.56) | |
| CMYK | cmyk(52.94% 0% 49.02% 80%) | |
| Android | #ff18331a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.52: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="#18331a"
Gradient stop
<stop stop-color="#18331a"/>
CSS variable + fill
:root { --c: #18331a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #18331a; background-color: #18331a; bg-[#18331a]