Skip to content
Vectorlight.net

#24282a

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

HEX
#24282a
RGB
36, 40, 42
HSL
200°, 7.69%, 15.29%
OKLCH
0.27 0.01 229.1
Names
—
Lists

Codes

FormatValue
HEX#24282a
RGBrgb(36 40 42)
HSLhsl(200 7.69% 15.29%)
OKLCHoklch(0.27 0.01 229.1)
CMYKcmyk(14.29% 4.76% 0% 83.53%)
Android#ff24282a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #24282a;
background-color: #24282a;
bg-[#24282a]