#508178#508178

#508178 is a mid, muted teal. Relative luminance 0.188; OKLCH L 56.6% C 0.055 H 181.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#508178
RGBrgb(80, 129, 120)
HSLhsl(169, 23%, 41%)
HSVhsv(169, 38%, 51%)
CMYKcmyk(38%, 0%, 7%, 49.4%)
CIE-LABlab(50.41, -18.78, -0.36)
CIE-LCHlch(50.41, 18.78, 181.10°)
OKLaboklab(56.55% -0.0551 -0.0013)
OKLCHoklch(56.55% 0.055 181.3)
XYZxyz(14.5474, 18.7611, 20.6204)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508178 #815059
analogous
#50815F #508178 #507181
triadic
#508178 #785081 #817850
tetradic
#508178 #5F5081 #815059 #718150
square
#508178 #5F5081 #815059 #718150
split-complementary
#508178 #815071 #815F50
monochromatic
#213532 #395B55 #508178 #6BA399 #91BBB3

Accessibility & contrast

On white

4.42
#508178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#508178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508178
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508178#FFFFFF#000000##000000
##5081781.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7C78
Deuteranopia (green-blind)
#747579
Tritanopia (blue-blind)
#3F837E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #508178;
/* rgb */ color: rgb(80, 129, 120);
/* oklch */ color: oklch(56.6% 0.055 181.3);
Tailwind
colors: {
  custom: {
    50: '#83a59e',
    500: '#508178',
    950: '#000000',
  },
}
SCSS
$custom: #508178;
$custom-light: #83a59e;
$custom-dark: #000000;
JSON
{
  "hex": "#508178",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 120
  },
  "hsl": {
    "h": 168.98,
    "s": 23.445,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.05515,
    "h": 181.3
  },
  "luminance": 0.18762
}

Semantic roles & 50–950 ramp

primary
#508178
secondary
#A8858C
accent
#6878C0
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B0F0E
muted
#7C7F7E

Preview Lab

Preview with #508178

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

Preview Lab → · Contrast checker → · Palette generator →

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