#51997C#51997C

#51997C is a light, moderate teal. Relative luminance 0.260; OKLCH L 62.7% C 0.086 H 165.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#51997C
RGBrgb(81, 153, 124)
HSLhsl(156, 31%, 46%)
HSVhsv(156, 47%, 60%)
CMYKcmyk(47.1%, 0%, 19%, 40%)
CIE-LABlab(58.02, -29.71, 8.33)
CIE-LCHlch(58.02, 30.86, 164.35°)
OKLaboklab(62.75% -0.083 0.0214)
OKLCHoklch(62.75% 0.086 165.6)
XYZxyz(18.4211, 25.9856, 23.1099)
Luminance0.2599 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51997C #99516E
analogous
#519958 #51997C #519299
triadic
#51997C #7C5199 #997C51
tetradic
#51997C #585199 #99516E #929951
square
#51997C #585199 #99516E #929951
split-complementary
#51997C #995192 #995851
monochromatic
#27493B #3C715C #51997C #73B59A #9BCAB7

Accessibility & contrast

On white

3.39
#51997C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#51997C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51997C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51997C#FFFFFF#000000##000000
##51997C1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96907B
Deuteranopia (green-blind)
#8B887E
Tritanopia (blue-blind)
#3A9991
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #51997c;
/* rgb */ color: rgb(81, 153, 124);
/* oklch */ color: oklch(62.7% 0.086 165.6);
Tailwind
colors: {
  custom: {
    50: '#86b7a2',
    500: '#51997c',
    950: '#000000',
  },
}
SCSS
$custom: #51997c;
$custom-light: #86b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#51997c",
  "rgb": {
    "r": 81,
    "g": 153,
    "b": 124
  },
  "hsl": {
    "h": 155.833,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.62749,
    "c": 0.08574,
    "h": 165.6
  },
  "luminance": 0.25987
}

Semantic roles & 50–950 ramp

primary
#51997C
secondary
#B78F9F
accent
#618AC7
background
#F8FBF9
surface
#F0F6F2
border
#CBD0CC
text
#0B110F
muted
#7C807E

Preview Lab

Preview with #51997C

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

Preview Lab → · Contrast checker → · Palette generator →

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