#51978E#51978E

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

Color values

HEX#51978E
RGBrgb(81, 151, 142)
HSLhsl(172, 30%, 45%)
HSVhsv(172, 46%, 59%)
CMYKcmyk(46.4%, 0%, 6%, 40.8%)
CIE-LABlab(57.88, -24.35, -2.11)
CIE-LCHlch(57.88, 24.45, 184.96°)
OKLaboklab(62.79% -0.0722 -0.0061)
OKLCHoklch(62.79% 0.072 184.8)
XYZxyz(19.3405, 25.8340, 29.5532)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51978E #97515A
analogous
#51976B #51978E #517D97
triadic
#51978E #8E5197 #978E51
tetradic
#51978E #6B5197 #97515A #7D9751
square
#51978E #6B5197 #97515A #7D9751
split-complementary
#51978E #97517D #976B51
monochromatic
#264743 #3C6F69 #51978E #72B3AB #9AC9C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51978E#FFFFFF#000000##000000
##51978E1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51978e;
/* rgb */ color: rgb(81, 151, 142);
/* oklch */ color: oklch(62.8% 0.072 184.8);
Tailwind
colors: {
  custom: {
    50: '#87b6af',
    500: '#51978e',
    950: '#000000',
  },
}
SCSS
$custom: #51978e;
$custom-light: #87b6af;
$custom-dark: #000000;
JSON
{
  "hex": "#51978e",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 142
  },
  "hsl": {
    "h": 172.286,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.62789,
    "c": 0.07245,
    "h": 184.8
  },
  "luminance": 0.25836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51978E

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

Preview Lab → · Contrast checker → · Palette generator →

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