Skip to content
Vectorlight.net

#28795f

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

HEX
#28795f
RGB
40, 121, 95
HSL
160.74°, 50.31%, 31.57%
OKLCH
0.52 0.09 168.03
Names
—
Lists

Codes

FormatValue
HEX#28795f
RGBrgb(40 121 95)
HSLhsl(160.74 50.31% 31.57%)
OKLCHoklch(0.52 0.09 168.03)
CMYKcmyk(66.94% 0% 21.49% 52.55%)
Android#ff28795f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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