Skip to content
Vectorlight.net

#01271a

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#01271a
RGB
1, 39, 26
HSL
159.47°, 95%, 7.84%
OKLCH
0.24 0.05 165.47
Names
—
Lists

Codes

FormatValue
HEX#01271a
RGBrgb(1 39 26)
HSLhsl(159.47 95% 7.84%)
OKLCHoklch(0.24 0.05 165.47)
CMYKcmyk(97.44% 0% 33.33% 84.71%)
Android#ff01271a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
16.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.30:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#01271a"
Gradient stop
<stop stop-color="#01271a"/>
CSS variable + fill
:root { --c: #01271a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #01271a;
background-color: #01271a;
bg-[#01271a]