#51978C#51978C

#51978C is a light, moderate teal. Relative luminance 0.258; OKLCH L 62.7% C 0.073 H 182.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#51978C
RGBrgb(81, 151, 140)
HSLhsl(171, 30%, 45%)
HSVhsv(171, 46%, 59%)
CMYKcmyk(46.4%, 0%, 7.3%, 40.8%)
CIE-LABlab(57.82, -24.87, -1.06)
CIE-LCHlch(57.82, 24.89, 182.44°)
OKLaboklab(62.72% -0.0731 -0.0032)
OKLCHoklch(62.72% 0.073 182.5)
XYZxyz(19.1917, 25.7745, 28.7695)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51978C #97515C
analogous
#519769 #51978C #517F97
triadic
#51978C #8C5197 #978C51
tetradic
#51978C #695197 #97515C #7F9751
square
#51978C #695197 #97515C #7F9751
split-complementary
#51978C #97517F #976951
monochromatic
#264742 #3C6F67 #51978C #72B3A9 #9AC9C1

Accessibility & contrast

On white

3.41
#51978C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#51978C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51978C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51978C#FFFFFF#000000##000000
##51978C1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91908C
Deuteranopia (green-blind)
#86878D
Tritanopia (blue-blind)
#339994
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #51978c;
/* rgb */ color: rgb(81, 151, 140);
/* oklch */ color: oklch(62.7% 0.073 182.5);
Tailwind
colors: {
  custom: {
    50: '#87b6ad',
    500: '#51978c',
    950: '#000000',
  },
}
SCSS
$custom: #51978c;
$custom-light: #87b6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#51978c",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 140
  },
  "hsl": {
    "h": 170.571,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62725,
    "c": 0.07318,
    "h": 182.5
  },
  "luminance": 0.25776
}

Semantic roles & 50–950 ramp

primary
#51978C
secondary
#B68E94
accent
#6171C6
background
#F8FBFA
surface
#F0F6F4
border
#CBD0CE
text
#0C1110
muted
#7D807F

Preview Lab

Preview with #51978C

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

Preview Lab → · Contrast checker → · Palette generator →

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