#508371#508371

#508371 is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.8% C 0.062 H 169.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#508371
RGBrgb(80, 131, 113)
HSLhsl(159, 24%, 41%)
HSVhsv(159, 39%, 51%)
CMYKcmyk(38.9%, 0%, 13.7%, 48.6%)
CIE-LABlab(50.84, -21.52, 4.36)
CIE-LCHlch(50.84, 21.96, 168.55°)
OKLaboklab(56.84% -0.0611 0.0112)
OKLCHoklch(56.84% 0.062 169.6)
XYZxyz(14.4041, 19.1294, 18.5529)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508371 #835062
analogous
#508358 #508371 #507C83
triadic
#508371 #715083 #837150
tetradic
#508371 #585083 #835062 #7C8350
square
#508371 #585083 #835062 #7C8350
split-complementary
#508371 #83507C #835850
monochromatic
#22372F #395D50 #508371 #6BA591 #91BCAD

Accessibility & contrast

On white

4.35
#508371 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#508371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508371
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508371#FFFFFF#000000##000000
##5083711.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#807D70
Deuteranopia (green-blind)
#787772
Tritanopia (blue-blind)
#42847E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #508371;
/* rgb */ color: rgb(80, 131, 113);
/* oklch */ color: oklch(56.8% 0.062 169.6);
Tailwind
colors: {
  custom: {
    50: '#83a799',
    500: '#508371',
    950: '#000000',
  },
}
SCSS
$custom: #508371;
$custom-light: #83a799;
$custom-dark: #000000;
JSON
{
  "hex": "#508371",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 113
  },
  "hsl": {
    "h": 158.824,
    "s": 24.171,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.06209,
    "h": 169.6
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#508371
secondary
#A98692
accent
#6787C1
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B0F0E
muted
#7C7F7E

Preview Lab

Preview with #508371

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

Preview Lab → · Contrast checker → · Palette generator →

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