#285a45
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 | #285a45 | |
| RGB | rgb(40 90 69) | |
| HSL | hsl(154.8 38.46% 25.49%) | |
| OKLCH | oklch(0.43 0.07 163.84) | |
| CMYK | cmyk(55.56% 0% 23.33% 64.71%) | |
| Android | #ff285a45 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.63: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="#285a45"
Gradient stop
<stop stop-color="#285a45"/>
CSS variable + fill
:root { --c: #285a45; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #285a45; background-color: #285a45; bg-[#285a45]