#286e20
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 | #286e20 | |
| RGB | rgb(40 110 32) | |
| HSL | hsl(113.85 54.93% 27.84%) | |
| OKLCH | oklch(0.48 0.13 141.64) | |
| CMYK | cmyk(63.64% 0% 70.91% 56.86%) | |
| Android | #ff286e20 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.34: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="#286e20"
Gradient stop
<stop stop-color="#286e20"/>
CSS variable + fill
:root { --c: #286e20; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #286e20; background-color: #286e20; bg-[#286e20]