#28400c
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 | #28400c | |
| RGB | rgb(40 64 12) | |
| HSL | hsl(87.69 68.42% 14.9%) | |
| OKLCH | oklch(0.34 0.08 131.28) | |
| CMYK | cmyk(37.5% 0% 81.25% 74.9%) | |
| Android | #ff28400c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.48:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.82: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="#28400c"
Gradient stop
<stop stop-color="#28400c"/>
CSS variable + fill
:root { --c: #28400c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #28400c; background-color: #28400c; bg-[#28400c]