#6ba245
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 | #6ba245 | |
| RGB | rgb(107 162 69) | |
| HSL | hsl(95.48 40.26% 45.29%) | |
| OKLCH | oklch(0.65 0.14 134.29) | |
| CMYK | cmyk(33.95% 0% 57.41% 36.47%) | |
| Android | #ff6ba245 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.05:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.87: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="#6ba245"
Gradient stop
<stop stop-color="#6ba245"/>
CSS variable + fill
:root { --c: #6ba245; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6ba245; background-color: #6ba245; bg-[#6ba245]