#54800c
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 | #54800c | |
| RGB | rgb(84 128 12) | |
| HSL | hsl(82.76 82.86% 27.45%) | |
| OKLCH | oklch(0.55 0.14 129.98) | |
| CMYK | cmyk(34.38% 0% 90.63% 49.8%) | |
| Android | #ff54800c |
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="#54800c"
Gradient stop
<stop stop-color="#54800c"/>
CSS variable + fill
:root { --c: #54800c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #54800c; background-color: #54800c; bg-[#54800c]