#227147
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 | #227147 | |
| RGB | rgb(34 113 71) | |
| HSL | hsl(148.1 53.74% 28.82%) | |
| OKLCH | oklch(0.49 0.1 155.91) | |
| CMYK | cmyk(69.91% 0% 37.17% 55.69%) | |
| Android | #ff227147 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.52: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="#227147"
Gradient stop
<stop stop-color="#227147"/>
CSS variable + fill
:root { --c: #227147; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #227147; background-color: #227147; bg-[#227147]