#4D796F#4D796F

#4D796F is a mid, muted teal. Relative luminance 0.164; OKLCH L 54.1% C 0.051 H 178.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4D796F
RGBrgb(77, 121, 111)
HSLhsl(166, 22%, 39%)
HSVhsv(166, 36%, 47%)
CMYKcmyk(36.4%, 0%, 8.3%, 52.5%)
CIE-LABlab(47.49, -17.62, 0.67)
CIE-LCHlch(47.49, 17.63, 177.81°)
OKLaboklab(54.09% -0.0513 0.0015)
OKLCHoklch(54.09% 0.051 178.3)
XYZxyz(12.7662, 16.3995, 17.5286)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D796F #794D57
analogous
#4D7959 #4D796F #4D6D79
triadic
#4D796F #6F4D79 #796F4D
tetradic
#4D796F #594D79 #794D57 #6D794D
square
#4D796F #594D79 #794D57 #6D794D
split-complementary
#4D796F #794D6D #79594D
monochromatic
#1D2E2A #35544D #4D796F #669D91 #8BB5AC

Accessibility & contrast

On white

4.91
#4D796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4D796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D796F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D796F#FFFFFF#000000##FFFFFF
##4D796F1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76746F
Deuteranopia (green-blind)
#6E6E70
Tritanopia (blue-blind)
#3F7A76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d796f;
/* rgb */ color: rgb(77, 121, 111);
/* oklch */ color: oklch(54.1% 0.051 178.3);
Tailwind
colors: {
  custom: {
    50: '#81a098',
    500: '#4d796f',
    950: '#000000',
  },
}
SCSS
$custom: #4d796f;
$custom-light: #81a098;
$custom-dark: #000000;
JSON
{
  "hex": "#4d796f",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 166.364,
    "s": 22.222,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.05132,
    "h": 178.3
  },
  "luminance": 0.164
}

Semantic roles & 50–950 ramp

primary
#4D796F
secondary
#A28088
accent
#697DBF
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#0A0E0D
muted
#7C7E7E

Preview Lab

Preview with #4D796F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4D796F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva