Skip to content
Vectorlight.net

#04740b

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

HEX
#04740b
RGB
4, 116, 11
HSL
123.75°, 93.33%, 23.53%
OKLCH
0.49 0.16 142.99
Names
—
Lists

Codes

FormatValue
HEX#04740b
RGBrgb(4 116 11)
HSLhsl(123.75 93.33% 23.53%)
OKLCHoklch(0.49 0.16 142.99)
CMYKcmyk(96.55% 0% 90.52% 54.51%)
Android#ff04740b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04740b;
background-color: #04740b;
bg-[#04740b]