#51716C#51716C

#51716C is a mid, muted teal. Relative luminance 0.146; OKLCH L 52.2% C 0.038 H 184.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#51716C
RGBrgb(81, 113, 108)
HSLhsl(171, 16%, 38%)
HSVhsv(171, 28%, 44%)
CMYKcmyk(28.3%, 0%, 4.4%, 55.7%)
CIE-LABlab(45.14, -12.67, -0.95)
CIE-LCHlch(45.14, 12.70, 184.30°)
OKLaboklab(52.24% -0.0376 -0.0027)
OKLCHoklch(52.24% 0.038 184.2)
XYZxyz(12.0044, 14.6417, 16.3781)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51716C #715156
analogous
#51715C #51716C #516671
triadic
#51716C #6C5171 #716C51
tetradic
#51716C #5C5171 #715156 #667151
square
#51716C #5C5171 #715156 #667151
split-complementary
#51716C #715166 #715C51
monochromatic
#1E2A28 #374D4A #51716C #6B958E #8EAEA9

Accessibility & contrast

On white

5.35
#51716C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#51716C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51716C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51716C#FFFFFF#000000##FFFFFF
##51716C1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6D6C
Deuteranopia (green-blind)
#68696C
Tritanopia (blue-blind)
#47726F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #51716c;
/* rgb */ color: rgb(81, 113, 108);
/* oklch */ color: oklch(52.2% 0.038 184.2);
Tailwind
colors: {
  custom: {
    50: '#839a96',
    500: '#51716c',
    950: '#000000',
  },
}
SCSS
$custom: #51716c;
$custom-light: #839a96;
$custom-dark: #000000;
JSON
{
  "hex": "#51716c",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 108
  },
  "hsl": {
    "h": 170.625,
    "s": 16.495,
    "l": 38.039
  },
  "oklch": {
    "l": 0.52235,
    "c": 0.03774,
    "h": 184.2
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#51716C
secondary
#9C8286
accent
#6F7AB9
background
#F8F9F9
surface
#EFF2F1
border
#CACCCB
text
#0A0E0D
muted
#7C7E7E

Preview Lab

Preview with #51716C

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

Preview Lab → · Contrast checker → · Palette generator →

#51716C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva