#288a42
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 | #288a42 | |
| RGB | rgb(40 138 66) | |
| HSL | hsl(135.92 55.06% 34.9%) | |
| OKLCH | oklch(0.56 0.14 148.35) | |
| CMYK | cmyk(71.01% 0% 52.17% 45.88%) | |
| Android | #ff288a42 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.37:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.80:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#288a42"
Gradient stop
<stop stop-color="#288a42"/>
CSS variable + fill
:root { --c: #288a42; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #288a42; background-color: #288a42; bg-[#288a42]