#1ba245
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 | #1ba245 | |
| RGB | rgb(27 162 69) | |
| HSL | hsl(138.67 71.43% 37.06%) | |
| OKLCH | oklch(0.62 0.17 147.99) | |
| CMYK | cmyk(83.33% 0% 57.41% 36.47%) | |
| Android | #ff1ba245 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.33:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.30: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="#1ba245"
Gradient stop
<stop stop-color="#1ba245"/>
CSS variable + fill
:root { --c: #1ba245; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1ba245; background-color: #1ba245; bg-[#1ba245]