Skip to content
Vectorlight.net

#298d5d

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

HEX
#298d5d
RGB
41, 141, 93
HSL
151.2°, 54.95%, 35.69%
OKLCH
0.57 0.12 157.93
Names
—
Lists

Codes

FormatValue
HEX#298d5d
RGBrgb(41 141 93)
HSLhsl(151.2 54.95% 35.69%)
OKLCHoklch(0.57 0.12 157.93)
CMYKcmyk(70.92% 0% 34.04% 44.71%)
Android#ff298d5d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.14:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.06:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#298d5d"
Gradient stop
<stop stop-color="#298d5d"/>
CSS variable + fill
:root { --c: #298d5d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #298d5d;
background-color: #298d5d;
bg-[#298d5d]