#02c338
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 | #02c338 | |
| RGB | rgb(2 195 56) | |
| HSL | hsl(136.79 97.97% 38.63%) | |
| OKLCH | oklch(0.71 0.22 145.19) | |
| CMYK | cmyk(98.97% 0% 71.28% 23.53%) | |
| Android | #ff02c338 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.36:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.86: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="#02c338"
Gradient stop
<stop stop-color="#02c338"/>
CSS variable + fill
:root { --c: #02c338; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #02c338; background-color: #02c338; bg-[#02c338]