Skip to content
Vectorlight.net

#04841f

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

HEX
#04841f
RGB
4, 132, 31
HSL
132.66°, 94.12%, 26.67%
OKLCH
0.53 0.17 144.56
Names
—
Lists

Codes

FormatValue
HEX#04841f
RGBrgb(4 132 31)
HSLhsl(132.66 94.12% 26.67%)
OKLCHoklch(0.53 0.17 144.56)
CMYKcmyk(96.97% 0% 76.52% 48.24%)
Android#ff04841f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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