#51917C#51917C

#51917C is a mid, moderate teal. Relative luminance 0.235; OKLCH L 60.7% C 0.074 H 170.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#51917C
RGBrgb(81, 145, 124)
HSLhsl(160, 28%, 44%)
HSVhsv(160, 44%, 57%)
CMYKcmyk(44.1%, 0%, 14.5%, 43.1%)
CIE-LABlab(55.54, -25.78, 4.77)
CIE-LCHlch(55.54, 26.22, 169.52°)
OKLaboklab(60.74% -0.0731 0.0122)
OKLCHoklch(60.74% 0.074 170.5)
XYZxyz(17.1554, 23.4541, 22.6880)
Luminance0.2346 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51917C #915166
analogous
#51915C #51917C #518691
triadic
#51917C #7C5191 #917C51
tetradic
#51917C #5C5191 #915166 #869151
square
#51917C #5C5191 #915166 #869151
split-complementary
#51917C #915186 #915C51
monochromatic
#254239 #3B6A5A #51917C #70AF9A #97C5B6

Accessibility & contrast

On white

3.69
#51917C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#51917C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51917C
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51917C#FFFFFF#000000##000000
##51917C1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E897B
Deuteranopia (green-blind)
#83827D
Tritanopia (blue-blind)
#3C928B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #51917c;
/* rgb */ color: rgb(81, 145, 124);
/* oklch */ color: oklch(60.7% 0.074 170.5);
Tailwind
colors: {
  custom: {
    50: '#85b1a1',
    500: '#51917c',
    950: '#000000',
  },
}
SCSS
$custom: #51917c;
$custom-light: #85b1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#51917c",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 124
  },
  "hsl": {
    "h": 160.313,
    "s": 28.319,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60737,
    "c": 0.07412,
    "h": 170.5
  },
  "luminance": 0.23455
}

Semantic roles & 50–950 ramp

primary
#51917C
secondary
#B28C98
accent
#6383C5
background
#F8FAF9
surface
#F0F5F2
border
#CBCFCC
text
#0B110F
muted
#7C807E

Preview Lab

Preview with #51917C

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

Preview Lab → · Contrast checker → · Palette generator →

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