#12751a
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 | #12751a | |
| RGB | rgb(18 117 26) | |
| HSL | hsl(124.85 73.33% 26.47%) | |
| OKLCH | oklch(0.49 0.15 143.62) | |
| CMYK | cmyk(84.62% 0% 77.78% 54.12%) | |
| Android | #ff12751a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.85:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.58: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="#12751a"
Gradient stop
<stop stop-color="#12751a"/>
CSS variable + fill
:root { --c: #12751a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #12751a; background-color: #12751a; bg-[#12751a]