Skip to content
Vectorlight.net

#04340f

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

HEX
#04340f
RGB
4, 52, 15
HSL
133.75°, 85.71%, 10.98%
OKLCH
0.28 0.08 146.77
Names
—
Lists

Codes

FormatValue
HEX#04340f
RGBrgb(4 52 15)
HSLhsl(133.75 85.71% 10.98%)
OKLCHoklch(0.28 0.08 146.77)
CMYKcmyk(92.31% 0% 71.15% 79.61%)
Android#ff04340f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04340f;
background-color: #04340f;
bg-[#04340f]