#508B78#508B78

#508B78 is a mid, moderate teal. Relative luminance 0.215; OKLCH L 59.1% C 0.069 H 171.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#508B78
RGBrgb(80, 139, 120)
HSLhsl(161, 27%, 43%)
HSVhsv(161, 42%, 55%)
CMYKcmyk(42.4%, 0%, 13.7%, 45.5%)
CIE-LABlab(53.52, -23.98, 4.16)
CIE-LCHlch(53.52, 24.34, 170.16°)
OKLaboklab(59.06% -0.0682 0.0106)
OKLCHoklch(59.06% 0.069 171.1)
XYZxyz(15.9297, 21.5257, 21.0811)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B78 #8B5063
analogous
#508B5A #508B78 #50808B
triadic
#508B78 #78508B #8B7850
tetradic
#508B78 #5A508B #8B5063 #808B50
square
#508B78 #5A508B #8B5063 #808B50
split-complementary
#508B78 #8B5080 #8B5A50
monochromatic
#233D35 #3A6456 #508B78 #6DAB97 #94C1B3

Accessibility & contrast

On white

3.96
#508B78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#508B78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B78
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B78#FFFFFF#000000##000000
##508B781.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#888477
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#3D8C85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508b78;
/* rgb */ color: rgb(80, 139, 120);
/* oklch */ color: oklch(59.1% 0.069 171.1);
Tailwind
colors: {
  custom: {
    50: '#84ad9f',
    500: '#508b78',
    950: '#000000',
  },
}
SCSS
$custom: #508b78;
$custom-light: #84ad9f;
$custom-dark: #000000;
JSON
{
  "hex": "#508b78",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 120
  },
  "hsl": {
    "h": 160.678,
    "s": 26.941,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.06901,
    "h": 171.1
  },
  "luminance": 0.21527
}

Semantic roles & 50–950 ramp

primary
#508B78
secondary
#AE8995
accent
#6583C3
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B100E
muted
#7C7F7E

Preview Lab

Preview with #508B78

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

Preview Lab → · Contrast checker → · Palette generator →

#508B78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva