Skip to content
Vectorlight.net

#04650f

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

HEX
#04650f
RGB
4, 101, 15
HSL
126.8°, 92.38%, 20.59%
OKLCH
0.44 0.14 143.57
Names
—
Lists

Codes

FormatValue
HEX#04650f
RGBrgb(4 101 15)
HSLhsl(126.8 92.38% 20.59%)
OKLCHoklch(0.44 0.14 143.57)
CMYKcmyk(96.04% 0% 85.15% 60.39%)
Android#ff04650f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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