#517271#517271

#517271 is a mid, muted teal. Relative luminance 0.150; OKLCH L 52.7% C 0.038 H 193.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#517271
RGBrgb(81, 114, 113)
HSLhsl(178, 17%, 38%)
HSVhsv(178, 29%, 45%)
CMYKcmyk(28.9%, 0%, 0.9%, 55.3%)
CIE-LABlab(45.60, -12.00, -3.27)
CIE-LCHlch(45.60, 12.43, 195.23°)
OKLaboklab(52.65% -0.0368 -0.009)
OKLCHoklch(52.65% 0.038 193.7)
XYZxyz(12.3903, 14.9756, 17.8573)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517271 #725152
analogous
#517260 #517271 #516272
triadic
#517271 #715172 #727151
tetradic
#517271 #605172 #725152 #627251
square
#517271 #605172 #725152 #627251
split-complementary
#517271 #725162 #726051
monochromatic
#1E2A2A #384E4E #517271 #6B9694 #8EAFAE

Accessibility & contrast

On white

5.26
#517271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#517271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517271
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517271#FFFFFF#000000##FFFFFF
##5172711.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6F71
Deuteranopia (green-blind)
#686A71
Tritanopia (blue-blind)
#467472
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #517271;
/* rgb */ color: rgb(81, 114, 113);
/* oklch */ color: oklch(52.7% 0.038 193.7);
Tailwind
colors: {
  custom: {
    50: '#839a99',
    500: '#517271',
    950: '#000000',
  },
}
SCSS
$custom: #517271;
$custom-light: #839a99;
$custom-dark: #000000;
JSON
{
  "hex": "#517271",
  "rgb": {
    "r": 81,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 178.182,
    "s": 16.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.52653,
    "c": 0.03787,
    "h": 193.7
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#517271
secondary
#9D8283
accent
#6E70BA
background
#F8F9F9
surface
#EFF2F2
border
#CACCCC
text
#0A0E0E
muted
#7C7E7E

Preview Lab

Preview with #517271

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

Preview Lab → · Contrast checker → · Palette generator →

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