Skip to content
Vectorlight.net

#04342a

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

HEX
#04342a
RGB
4, 52, 42
HSL
167.5°, 85.71%, 10.98%
OKLCH
0.29 0.05 174.68
Names
—
Lists

Codes

FormatValue
HEX#04342a
RGBrgb(4 52 42)
HSLhsl(167.5 85.71% 10.98%)
OKLCHoklch(0.29 0.05 174.68)
CMYKcmyk(92.31% 0% 19.23% 79.61%)
Android#ff04342a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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