#2a830e
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 | #2a830e | |
| RGB | rgb(42 131 14) | |
| HSL | hsl(105.64 80.69% 28.43%) | |
| OKLCH | oklch(0.54 0.17 140.1) | |
| CMYK | cmyk(67.94% 0% 89.31% 48.63%) | |
| Android | #ff2a830e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.82:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.35: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="#2a830e"
Gradient stop
<stop stop-color="#2a830e"/>
CSS variable + fill
:root { --c: #2a830e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2a830e; background-color: #2a830e; bg-[#2a830e]