#138a02
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 | #138a02 | |
| RGB | rgb(19 138 2) | |
| HSL | hsl(112.5 97.14% 27.45%) | |
| OKLCH | oklch(0.55 0.18 141.82) | |
| CMYK | cmyk(86.23% 0% 98.55% 45.88%) | |
| Android | #ff138a02 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.66: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="#138a02"
Gradient stop
<stop stop-color="#138a02"/>
CSS variable + fill
:root { --c: #138a02; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #138a02; background-color: #138a02; bg-[#138a02]