Skip to content
Vectorlight.net

#04797e

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

HEX
#04797e
RGB
4, 121, 126
HSL
182.46°, 93.85%, 25.49%
OKLCH
0.52 0.09 199.92
Names
—
Lists

Codes

FormatValue
HEX#04797e
RGBrgb(4 121 126)
HSLhsl(182.46 93.85% 25.49%)
OKLCHoklch(0.52 0.09 199.92)
CMYKcmyk(96.83% 3.97% 0% 50.59%)
Android#ff04797e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04797e;
background-color: #04797e;
bg-[#04797e]