Skip to content
Vectorlight.net

#2b560f

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

HEX
#2b560f
RGB
43, 86, 15
HSL
96.34°, 70.3%, 19.8%
OKLCH
0.41 0.11 136.07
Names
—
Lists

Codes

FormatValue
HEX#2b560f
RGBrgb(43 86 15)
HSLhsl(96.34 70.3% 19.8%)
OKLCHoklch(0.41 0.11 136.07)
CMYKcmyk(50% 0% 82.56% 66.27%)
Android#ff2b560f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2b560f;
background-color: #2b560f;
bg-[#2b560f]