#4E796C#4E796C

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

Color values

HEX#4E796C
RGBrgb(78, 121, 108)
HSLhsl(162, 22%, 39%)
HSVhsv(162, 36%, 47%)
CMYKcmyk(35.5%, 0%, 10.7%, 52.5%)
CIE-LABlab(47.46, -18.04, 2.41)
CIE-LCHlch(47.46, 18.20, 172.38°)
OKLaboklab(54.05% -0.0518 0.0061)
OKLCHoklch(54.05% 0.052 173.3)
XYZxyz(12.6851, 16.3764, 16.6770)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E796C #794E5B
analogous
#4E7957 #4E796C #4E7179
triadic
#4E796C #6C4E79 #796C4E
tetradic
#4E796C #574E79 #794E5B #71794E
square
#4E796C #574E79 #794E5B #71794E
split-complementary
#4E796C #794E71 #79574E
monochromatic
#1E2F2A #36544B #4E796C #679D8D #8CB5A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E796C#FFFFFF#000000##FFFFFF
##4E796C1.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)
#76746B
Deuteranopia (green-blind)
#6F6E6D
Tritanopia (blue-blind)
#427A75
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e796c;
/* rgb */ color: rgb(78, 121, 108);
/* oklch */ color: oklch(54.1% 0.052 173.3);
Tailwind
colors: {
  custom: {
    50: '#81a096',
    500: '#4e796c',
    950: '#000000',
  },
}
SCSS
$custom: #4e796c;
$custom-light: #81a096;
$custom-dark: #000000;
JSON
{
  "hex": "#4e796c",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 161.86,
    "s": 21.608,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.05215,
    "h": 173.3
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#4E796C
secondary
#A2818B
accent
#6A83BE
background
#F8F9F9
surface
#EFF2F1
border
#CACCCB
text
#0A0E0D
muted
#7C7E7E

Preview Lab

Preview with #4E796C

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

Preview Lab → · Contrast checker → · Palette generator →

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