Skip to content
Vectorlight.net

#283d1f

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

HEX
#283d1f
RGB
40, 61, 31
HSL
102°, 32.61%, 18.04%
OKLCH
0.33 0.06 136.84
Names
—
Lists

Codes

FormatValue
HEX#283d1f
RGBrgb(40 61 31)
HSLhsl(102 32.61% 18.04%)
OKLCHoklch(0.33 0.06 136.84)
CMYKcmyk(34.43% 0% 49.18% 76.08%)
Android#ff283d1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #283d1f;
background-color: #283d1f;
bg-[#283d1f]