#508771#508771

#508771 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.8% C 0.068 H 166.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#508771
RGBrgb(80, 135, 113)
HSLhsl(156, 26%, 42%)
HSVhsv(156, 41%, 53%)
CMYKcmyk(40.7%, 0%, 16.3%, 47.1%)
CIE-LABlab(52.09, -23.58, 6.16)
CIE-LCHlch(52.09, 24.37, 165.37°)
OKLaboklab(57.85% -0.0663 0.0158)
OKLCHoklch(57.85% 0.068 166.6)
XYZxyz(14.9517, 20.2247, 18.7355)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508771 #875066
analogous
#508756 #508771 #508287
triadic
#508771 #715087 #877150
tetradic
#508771 #565087 #875066 #828750
square
#508771 #565087 #875066 #828750
split-complementary
#508771 #875082 #875650
monochromatic
#223A31 #396151 #508771 #6CA890 #93BFAD

Accessibility & contrast

On white

4.16
#508771 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#508771 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508771
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508771#FFFFFF#000000##000000
##5087711.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#858070
Deuteranopia (green-blind)
#7C7A72
Tritanopia (blue-blind)
#418781
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508771;
/* rgb */ color: rgb(80, 135, 113);
/* oklch */ color: oklch(57.8% 0.068 166.6);
Tailwind
colors: {
  custom: {
    50: '#84aa99',
    500: '#508771',
    950: '#000000',
  },
}
SCSS
$custom: #508771;
$custom-light: #84aa99;
$custom-dark: #000000;
JSON
{
  "hex": "#508771",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 113
  },
  "hsl": {
    "h": 156,
    "s": 25.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.0682,
    "h": 166.6
  },
  "luminance": 0.20226
}

Semantic roles & 50–950 ramp

primary
#508771
secondary
#AC8796
accent
#668BC2
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B100E
muted
#7C7F7E

Preview Lab

Preview with #508771

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

Preview Lab → · Contrast checker → · Palette generator →

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