#05a628
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 | #05a628 | |
| RGB | rgb(5 166 40) | |
| HSL | hsl(133.04 94.15% 33.53%) | |
| OKLCH | oklch(0.63 0.2 144.45) | |
| CMYK | cmyk(96.99% 0% 75.9% 34.9%) | |
| Android | #ff05a628 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.23:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.49: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="#05a628"
Gradient stop
<stop stop-color="#05a628"/>
CSS variable + fill
:root { --c: #05a628; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #05a628; background-color: #05a628; bg-[#05a628]