#26731c
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 | #26731c | |
| RGB | rgb(38 115 28) | |
| HSL | hsl(113.1 60.84% 28.04%) | |
| OKLCH | oklch(0.49 0.14 141.48) | |
| CMYK | cmyk(66.96% 0% 75.65% 54.9%) | |
| Android | #ff26731c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.55: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="#26731c"
Gradient stop
<stop stop-color="#26731c"/>
CSS variable + fill
:root { --c: #26731c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #26731c; background-color: #26731c; bg-[#26731c]