#508478#508478

#508478 is a mid, muted teal. Relative luminance 0.196; OKLCH L 57.3% C 0.059 H 177.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#508478
RGBrgb(80, 132, 120)
HSLhsl(166, 25%, 42%)
HSVhsv(166, 39%, 52%)
CMYKcmyk(39.4%, 0%, 9.1%, 48.2%)
CIE-LABlab(51.34, -20.37, 1.00)
CIE-LCHlch(51.34, 20.39, 177.18°)
OKLaboklab(57.3% -0.0591 0.0023)
OKLCHoklch(57.3% 0.059 177.7)
XYZxyz(14.9484, 19.5631, 20.7540)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508478 #84505C
analogous
#50845E #508478 #507684
triadic
#508478 #785084 #847850
tetradic
#508478 #5E5084 #84505C #768450
square
#508478 #5E5084 #84505C #768450
split-complementary
#508478 #845076 #845E50
monochromatic
#223833 #395E55 #508478 #6CA698 #92BDB3

Accessibility & contrast

On white

4.27
#508478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#508478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508478
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508478#FFFFFF#000000##000000
##5084781.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#807E78
Deuteranopia (green-blind)
#777879
Tritanopia (blue-blind)
#3F8580
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #508478;
/* rgb */ color: rgb(80, 132, 120);
/* oklch */ color: oklch(57.3% 0.059 177.7);
Tailwind
colors: {
  custom: {
    50: '#84a89e',
    500: '#508478',
    950: '#000000',
  },
}
SCSS
$custom: #508478;
$custom-light: #84a89e;
$custom-dark: #000000;
JSON
{
  "hex": "#508478",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 120
  },
  "hsl": {
    "h": 166.154,
    "s": 24.528,
    "l": 41.569
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.05915,
    "h": 177.7
  },
  "luminance": 0.19564
}

Semantic roles & 50–950 ramp

primary
#508478
secondary
#AA868E
accent
#677CC1
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B0F0E
muted
#7C7F7E

Preview Lab

Preview with #508478

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

Preview Lab → · Contrast checker → · Palette generator →

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