#628a34
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 | #628a34 | |
| RGB | rgb(98 138 52) | |
| HSL | hsl(87.91 45.26% 37.25%) | |
| OKLCH | oklch(0.58 0.12 130.47) | |
| CMYK | cmyk(28.99% 0% 62.32% 45.88%) | |
| Android | #ff628a34 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.20: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="#628a34"
Gradient stop
<stop stop-color="#628a34"/>
CSS variable + fill
:root { --c: #628a34; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #628a34; background-color: #628a34; bg-[#628a34]