#028340
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 | #028340 | |
| RGB | rgb(2 131 64) | |
| HSL | hsl(148.84 96.99% 26.08%) | |
| OKLCH | oklch(0.53 0.14 151.55) | |
| CMYK | cmyk(98.47% 0% 51.15% 48.63%) | |
| Android | #ff028340 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.85:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.32: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="#028340"
Gradient stop
<stop stop-color="#028340"/>
CSS variable + fill
:root { --c: #028340; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #028340; background-color: #028340; bg-[#028340]