Skip to content
Vectorlight.net

#2a680b

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

HEX
#2a680b
RGB
42, 104, 11
HSL
100°, 80.87%, 22.55%
OKLCH
0.46 0.14 138.21
Names
—
Lists

Codes

FormatValue
HEX#2a680b
RGBrgb(42 104 11)
HSLhsl(100 80.87% 22.55%)
OKLCHoklch(0.46 0.14 138.21)
CMYKcmyk(59.62% 0% 89.42% 59.22%)
Android#ff2a680b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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