Skip to content
Vectorlight.net

olivedrab (#6b8e23)

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

HEX
#6b8e23
RGB
107, 142, 35
HSL
79.63°, 60.45%, 34.71%
OKLCH
0.6 0.14 126.32
Names
olivedrab
Lists

Codes

FormatValue
HEX#6b8e23
RGBrgb(107 142 35)
HSLhsl(79.63 60.45% 34.71%)
OKLCHoklch(0.6 0.14 126.32)
CMYKcmyk(24.65% 0% 75.35% 44.31%)
Android#ff6b8e23

Names & lists

olivedrab CSS named

Web-safe: No

Tailwind: No

Contrast

Aa
3.80:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.51:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#6b8e23"
Gradient stop
<stop stop-color="#6b8e23"/>
CSS variable + fill
:root { --c: #6b8e23; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #6b8e23;
background-color: #6b8e23;
bg-[#6b8e23]