#628c28
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 | #628c28 | |
| RGB | rgb(98 140 40) | |
| HSL | hsl(85.2 55.56% 35.29%) | |
| OKLCH | oklch(0.59 0.14 129.62) | |
| CMYK | cmyk(30% 0% 71.43% 45.1%) | |
| Android | #ff628c28 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.96:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.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="#628c28"
Gradient stop
<stop stop-color="#628c28"/>
CSS variable + fill
:root { --c: #628c28; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #628c28; background-color: #628c28; bg-[#628c28]