Skip to content
Vectorlight.net

#42480f

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

HEX
#42480f
RGB
66, 72, 15
HSL
66.32°, 65.52%, 17.06%
OKLCH
0.38 0.08 115.38
Names
—
Lists

Codes

FormatValue
HEX#42480f
RGBrgb(66 72 15)
HSLhsl(66.32 65.52% 17.06%)
OKLCHoklch(0.38 0.08 115.38)
CMYKcmyk(8.33% 0% 79.17% 71.76%)
Android#ff42480f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42480f;
background-color: #42480f;
bg-[#42480f]