#51997F#51997F

#51997F is a light, moderate teal. Relative luminance 0.261; OKLCH L 62.8% C 0.083 H 168.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#51997F
RGBrgb(81, 153, 127)
HSLhsl(158, 31%, 46%)
HSVhsv(158, 47%, 60%)
CMYKcmyk(47.1%, 0%, 17%, 40%)
CIE-LABlab(58.10, -29.02, 6.73)
CIE-LCHlch(58.10, 29.79, 166.94°)
OKLaboklab(62.83% -0.0816 0.0173)
OKLCHoklch(62.83% 0.083 168.1)
XYZxyz(18.6137, 26.0626, 24.1243)
Luminance0.2606 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51997F #99516B
analogous
#51995B #51997F #518F99
triadic
#51997F #7F5199 #997F51
tetradic
#51997F #5B5199 #99516B #8F9951
square
#51997F #5B5199 #99516B #8F9951
split-complementary
#51997F #99518F #995B51
monochromatic
#27493D #3C715E #51997F #73B59D #9BCAB9

Accessibility & contrast

On white

3.38
#51997F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#51997F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51997F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51997F#FFFFFF#000000##000000
##51997F1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96907E
Deuteranopia (green-blind)
#8A8881
Tritanopia (blue-blind)
#399A91
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #51997f;
/* rgb */ color: rgb(81, 153, 127);
/* oklch */ color: oklch(62.8% 0.083 168.1);
Tailwind
colors: {
  custom: {
    50: '#86b7a4',
    500: '#51997f',
    950: '#000000',
  },
}
SCSS
$custom: #51997f;
$custom-light: #86b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#51997f",
  "rgb": {
    "r": 81,
    "g": 153,
    "b": 127
  },
  "hsl": {
    "h": 158.333,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.62833,
    "c": 0.08342,
    "h": 168.1
  },
  "luminance": 0.26064
}

Semantic roles & 50–950 ramp

primary
#51997F
secondary
#B78F9D
accent
#6186C7
background
#F8FBFA
surface
#F0F6F4
border
#CBD0CE
text
#0B110F
muted
#7C807F

Preview Lab

Preview with #51997F

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

Preview Lab → · Contrast checker → · Palette generator →

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