Skip to content
Vectorlight.net

#1b7318

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

HEX
#1b7318
RGB
27, 115, 24
HSL
118.02°, 65.47%, 27.25%
OKLCH
0.49 0.15 142.51
Names
—
Lists

Codes

FormatValue
HEX#1b7318
RGBrgb(27 115 24)
HSLhsl(118.02 65.47% 27.25%)
OKLCHoklch(0.49 0.15 142.51)
CMYKcmyk(76.52% 0% 79.13% 54.9%)
Android#ff1b7318

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1b7318;
background-color: #1b7318;
bg-[#1b7318]