#517872#517872

#517872 is a mid, muted teal. Relative luminance 0.164; OKLCH L 54.2% C 0.045 H 184.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#517872
RGBrgb(81, 120, 114)
HSLhsl(171, 19%, 39%)
HSVhsv(171, 33%, 47%)
CMYKcmyk(32.5%, 0%, 5%, 52.9%)
CIE-LABlab(47.49, -15.09, -1.08)
CIE-LCHlch(47.49, 15.13, 184.11°)
OKLaboklab(54.17% -0.0448 -0.0031)
OKLCHoklch(54.17% 0.045 184)
XYZxyz(13.1460, 16.3965, 18.3885)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517872 #785157
analogous
#51785F #517872 #516B78
triadic
#517872 #725178 #787251
tetradic
#517872 #5F5178 #785157 #6B7851
square
#517872 #5F5178 #785157 #6B7851
split-complementary
#517872 #78516B #785F51
monochromatic
#202F2D #38534F #517872 #6B9B94 #90B4AE

Accessibility & contrast

On white

4.91
#517872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#517872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517872
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517872#FFFFFF#000000##FFFFFF
##5178721.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747472
Deuteranopia (green-blind)
#6D6E73
Tritanopia (blue-blind)
#457A76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517872;
/* rgb */ color: rgb(81, 120, 114);
/* oklch */ color: oklch(54.2% 0.045 184.0);
Tailwind
colors: {
  custom: {
    50: '#839f9a',
    500: '#517872',
    950: '#000000',
  },
}
SCSS
$custom: #517872;
$custom-light: #839f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#517872",
  "rgb": {
    "r": 81,
    "g": 120,
    "b": 114
  },
  "hsl": {
    "h": 170.769,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54173,
    "c": 0.04487,
    "h": 184
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

primary
#517872
secondary
#A18488
accent
#6C78BC
background
#F8F9F9
surface
#EFF2F2
border
#CACCCC
text
#0B0E0E
muted
#7C7E7E

Preview Lab

Preview with #517872

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

Preview Lab → · Contrast checker → · Palette generator →

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