#3f802b
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 | #3f802b | |
| RGB | rgb(63 128 43) | |
| HSL | hsl(105.88 49.71% 33.53%) | |
| OKLCH | oklch(0.54 0.14 139.12) | |
| CMYK | cmyk(50.78% 0% 66.41% 49.8%) | |
| Android | #ff3f802b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.84:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.33: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="#3f802b"
Gradient stop
<stop stop-color="#3f802b"/>
CSS variable + fill
:root { --c: #3f802b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3f802b; background-color: #3f802b; bg-[#3f802b]