#51917A#51917A

#51917A is a mid, moderate teal. Relative luminance 0.234; OKLCH L 60.7% C 0.076 H 168.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#51917A
RGBrgb(81, 145, 122)
HSLhsl(158, 28%, 44%)
HSVhsv(158, 44%, 57%)
CMYKcmyk(44.1%, 0%, 15.9%, 43.1%)
CIE-LABlab(55.49, -26.25, 5.84)
CIE-LCHlch(55.49, 26.89, 167.45°)
OKLaboklab(60.68% -0.074 0.015)
OKLCHoklch(60.68% 0.076 168.6)
XYZxyz(17.0302, 23.4040, 22.0286)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51917A #915168
analogous
#51915A #51917A #518891
triadic
#51917A #7A5191 #917A51
tetradic
#51917A #5A5191 #915168 #889151
square
#51917A #5A5191 #915168 #889151
split-complementary
#51917A #915188 #915A51
monochromatic
#254238 #3B6A59 #51917A #70AF98 #97C5B5

Accessibility & contrast

On white

3.70
#51917A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#51917A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51917A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51917A#FFFFFF#000000##000000
##51917A1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8979
Deuteranopia (green-blind)
#84827B
Tritanopia (blue-blind)
#3D928A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #51917a;
/* rgb */ color: rgb(81, 145, 122);
/* oklch */ color: oklch(60.7% 0.076 168.6);
Tailwind
colors: {
  custom: {
    50: '#85b1a0',
    500: '#51917a',
    950: '#000000',
  },
}
SCSS
$custom: #51917a;
$custom-light: #85b1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#51917a",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 122
  },
  "hsl": {
    "h": 158.438,
    "s": 28.319,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60679,
    "c": 0.07555,
    "h": 168.6
  },
  "luminance": 0.23405
}

Semantic roles & 50–950 ramp

primary
#51917A
secondary
#B28C9A
accent
#6386C5
background
#F8FAF9
surface
#EFF5F2
border
#CACFCC
text
#0B110E
muted
#7C807E

Preview Lab

Preview with #51917A

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

Preview Lab → · Contrast checker → · Palette generator →

#51917A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva