#285304
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 | #285304 | |
| RGB | rgb(40 83 4) | |
| HSL | hsl(92.66 90.8% 17.06%) | |
| OKLCH | oklch(0.4 0.11 135.38) | |
| CMYK | cmyk(51.81% 0% 95.18% 67.45%) | |
| Android | #ff285304 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.01:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.32: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="#285304"
Gradient stop
<stop stop-color="#285304"/>
CSS variable + fill
:root { --c: #285304; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #285304; background-color: #285304; bg-[#285304]