#51978F#51978F

#51978F is a light, moderate teal. Relative luminance 0.259; OKLCH L 62.8% C 0.072 H 186.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#51978F
RGBrgb(81, 151, 143)
HSLhsl(173, 30%, 45%)
HSVhsv(173, 46%, 59%)
CMYKcmyk(46.4%, 0%, 5.3%, 40.8%)
CIE-LABlab(57.91, -24.10, -2.64)
CIE-LCHlch(57.91, 24.24, 186.26°)
OKLaboklab(62.82% -0.0717 -0.0075)
OKLCHoklch(62.82% 0.072 186)
XYZxyz(19.4159, 25.8642, 29.9504)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51978F #975159
analogous
#51976C #51978F #517C97
triadic
#51978F #8F5197 #978F51
tetradic
#51978F #6C5197 #975159 #7C9751
square
#51978F #6C5197 #975159 #7C9751
split-complementary
#51978F #97517C #976C51
monochromatic
#264744 #3C6F69 #51978F #72B3AC #9AC9C3

Accessibility & contrast

On white

3.40
#51978F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#51978F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51978F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51978F#FFFFFF#000000##000000
##51978F1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91908F
Deuteranopia (green-blind)
#858790
Tritanopia (blue-blind)
#319A94
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #51978f;
/* rgb */ color: rgb(81, 151, 143);
/* oklch */ color: oklch(62.8% 0.072 186.0);
Tailwind
colors: {
  custom: {
    50: '#87b6af',
    500: '#51978f',
    950: '#000000',
  },
}
SCSS
$custom: #51978f;
$custom-light: #87b6af;
$custom-dark: #000000;
JSON
{
  "hex": "#51978f",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 143
  },
  "hsl": {
    "h": 173.143,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62822,
    "c": 0.07213,
    "h": 186
  },
  "luminance": 0.25866
}

Semantic roles & 50–950 ramp

primary
#51978F
secondary
#B68E93
accent
#616DC6
background
#F8FBFA
surface
#F0F6F4
border
#CBD0CE
text
#0C1110
muted
#7D807F

Preview Lab

Preview with #51978F

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

Preview Lab → · Contrast checker → · Palette generator →

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