Skip to content
Vectorlight.net

#04700f

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

HEX
#04700f
RGB
4, 112, 15
HSL
126.11°, 93.1%, 22.75%
OKLCH
0.47 0.15 143.36
Names
—
Lists

Codes

FormatValue
HEX#04700f
RGBrgb(4 112 15)
HSLhsl(126.11 93.1% 22.75%)
OKLCHoklch(0.47 0.15 143.36)
CMYKcmyk(96.43% 0% 86.61% 56.08%)
Android#ff04700f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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