#54800b
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 | #54800b | |
| RGB | rgb(84 128 11) | |
| HSL | hsl(82.56 84.17% 27.25%) | |
| OKLCH | oklch(0.55 0.14 129.94) | |
| CMYK | cmyk(34.38% 0% 91.41% 49.8%) | |
| Android | #ff54800b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.69:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.46: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="#54800b"
Gradient stop
<stop stop-color="#54800b"/>
CSS variable + fill
:root { --c: #54800b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #54800b; background-color: #54800b; bg-[#54800b]