#508172#508172

#508172 is a mid, muted teal. Relative luminance 0.186; OKLCH L 56.4% C 0.058 H 172.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#508172
RGBrgb(80, 129, 114)
HSLhsl(162, 23%, 41%)
HSVhsv(162, 38%, 51%)
CMYKcmyk(38%, 0%, 11.6%, 49.4%)
CIE-LABlab(50.24, -20.24, 2.91)
CIE-LCHlch(50.24, 20.45, 171.81°)
OKLaboklab(56.36% -0.0579 0.0074)
OKLCHoklch(56.36% 0.058 172.7)
XYZxyz(14.1947, 18.6200, 18.7624)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508172 #81505F
analogous
#508159 #508172 #507781
triadic
#508172 #725081 #817250
tetradic
#508172 #595081 #81505F #778150
square
#508172 #595081 #81505F #778150
split-complementary
#508172 #815077 #815950
monochromatic
#21352F #395B51 #508172 #6BA392 #91BBAE

Accessibility & contrast

On white

4.45
#508172 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#508172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508172
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508172#FFFFFF#000000##000000
##5081721.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7B71
Deuteranopia (green-blind)
#767573
Tritanopia (blue-blind)
#42827C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #508172;
/* rgb */ color: rgb(80, 129, 114);
/* oklch */ color: oklch(56.4% 0.058 172.7);
Tailwind
colors: {
  custom: {
    50: '#83a59a',
    500: '#508172',
    950: '#000000',
  },
}
SCSS
$custom: #508172;
$custom-light: #83a59a;
$custom-dark: #000000;
JSON
{
  "hex": "#508172",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 114
  },
  "hsl": {
    "h": 161.633,
    "s": 23.445,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56365,
    "c": 0.05842,
    "h": 172.7
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

primary
#508172
secondary
#A88590
accent
#6883C0
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B0F0E
muted
#7C7F7E

Preview Lab

Preview with #508172

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

Preview Lab → · Contrast checker → · Palette generator →

#508172 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva