Skip to content
Vectorlight.net

#00311e

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

HEX
#00311e
RGB
0, 49, 30
HSL
156.73°, 100%, 9.61%
OKLCH
0.28 0.06 161.22
Names
—
Lists

Codes

FormatValue
HEX#00311e
RGBrgb(0 49 30)
HSLhsl(156.73 100% 9.61%)
OKLCHoklch(0.28 0.06 161.22)
CMYKcmyk(100% 0% 38.78% 80.78%)
Android#ff00311e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
14.40:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.45: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="#00311e"
Gradient stop
<stop stop-color="#00311e"/>
CSS variable + fill
:root { --c: #00311e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #00311e;
background-color: #00311e;
bg-[#00311e]