Skip to content
Vectorlight.net

#286018

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

HEX
#286018
RGB
40, 96, 24
HSL
106.67°, 60%, 23.53%
OKLCH
0.44 0.12 139.6
Names
—
Lists

Codes

FormatValue
HEX#286018
RGBrgb(40 96 24)
HSLhsl(106.67 60% 23.53%)
OKLCHoklch(0.44 0.12 139.6)
CMYKcmyk(58.33% 0% 75% 62.35%)
Android#ff286018

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #286018;
background-color: #286018;
bg-[#286018]