#286229
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 | #286229 | |
| RGB | rgb(40 98 41) | |
| HSL | hsl(121.03 42.03% 27.06%) | |
| OKLCH | oklch(0.44 0.11 143.8) | |
| CMYK | cmyk(59.18% 0% 58.16% 61.57%) | |
| Android | #ff286229 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.31:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.86: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="#286229"
Gradient stop
<stop stop-color="#286229"/>
CSS variable + fill
:root { --c: #286229; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #286229; background-color: #286229; bg-[#286229]