#508D7E#508D7E

#508D7E is a mid, moderate teal. Relative luminance 0.223; OKLCH L 59.7% C 0.068 H 176.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#508D7E
RGBrgb(80, 141, 126)
HSLhsl(165, 28%, 43%)
HSVhsv(165, 43%, 55%)
CMYKcmyk(43.3%, 0%, 10.6%, 44.7%)
CIE-LABlab(54.30, -23.55, 1.83)
CIE-LCHlch(54.30, 23.63, 175.56°)
OKLaboklab(59.75% -0.0679 0.0045)
OKLCHoklch(59.75% 0.068 176.2)
XYZxyz(16.5975, 22.2604, 23.1567)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D7E #8D505F
analogous
#508D5F #508D7E #507D8D
triadic
#508D7E #7E508D #8D7E50
tetradic
#508D7E #5F508D #8D505F #7D8D50
square
#508D7E #5F508D #8D505F #7D8D50
split-complementary
#508D7E #8D507D #8D5F50
monochromatic
#243F38 #3A665B #508D7E #6EAD9D #95C3B7

Accessibility & contrast

On white

3.85
#508D7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#508D7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D7E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D7E#FFFFFF#000000##000000
##508D7E1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867D
Deuteranopia (green-blind)
#7F7F7F
Tritanopia (blue-blind)
#3A8E88
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #508d7e;
/* rgb */ color: rgb(80, 141, 126);
/* oklch */ color: oklch(59.7% 0.068 176.2);
Tailwind
colors: {
  custom: {
    50: '#85aea3',
    500: '#508d7e',
    950: '#000000',
  },
}
SCSS
$custom: #508d7e;
$custom-light: #85aea3;
$custom-dark: #000000;
JSON
{
  "hex": "#508d7e",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 126
  },
  "hsl": {
    "h": 165.246,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59745,
    "c": 0.06807,
    "h": 176.2
  },
  "luminance": 0.22262
}

Semantic roles & 50–950 ramp

primary
#508D7E
secondary
#AF8993
accent
#647BC4
background
#F8FAFA
surface
#EFF4F3
border
#CACECD
text
#0B100F
muted
#7C7F7F

Preview Lab

Preview with #508D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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