#5F7B71#5F7B71

#5F7B71 is a mid, muted teal. Relative luminance 0.178; OKLCH L 55.8% C 0.036 H 171.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5F7B71
RGBrgb(95, 123, 113)
HSLhsl(159, 13%, 43%)
HSVhsv(159, 23%, 48%)
CMYKcmyk(22.8%, 0%, 8.1%, 51.8%)
CIE-LABlab(49.24, -12.33, 2.16)
CIE-LCHlch(49.24, 12.51, 170.05°)
OKLaboklab(55.79% -0.0354 0.0055)
OKLCHoklch(55.79% 0.036 171.1)
XYZxyz(14.7820, 17.7905, 18.2747)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7B71 #7B5F69
analogous
#5F7B63 #5F7B71 #5F777B
triadic
#5F7B71 #715F7B #7B715F
tetradic
#5F7B71 #635F7B #7B5F69 #777B5F
square
#5F7B71 #635F7B #7B5F69 #777B5F
split-complementary
#5F7B71 #7B5F77 #7B635F
monochromatic
#2A3632 #445851 #5F7B71 #7D9A90 #9FB5AD

Accessibility & contrast

On white

4.61
#5F7B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5F7B71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7B71
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7B71#FFFFFF#000000##FFFFFF
##5F7B711.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797771
Deuteranopia (green-blind)
#747472
Tritanopia (blue-blind)
#597B78
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f7b71;
/* rgb */ color: rgb(95, 123, 113);
/* oklch */ color: oklch(55.8% 0.036 171.1);
Tailwind
colors: {
  custom: {
    50: '#8da199',
    500: '#5f7b71',
    950: '#000000',
  },
}
SCSS
$custom: #5f7b71;
$custom-light: #8da199;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7b71",
  "rgb": {
    "r": 95,
    "g": 123,
    "b": 113
  },
  "hsl": {
    "h": 158.571,
    "s": 12.844,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.03588,
    "h": 171.1
  },
  "luminance": 0.17791
}

Semantic roles & 50–950 ramp

primary
#5F7B71
secondary
#A49298
accent
#728AB6
background
#F8F9F9
surface
#F0F2F2
border
#CBCCCC
text
#0C0F0E
muted
#7D7E7E

Preview Lab

Preview with #5F7B71

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

Preview Lab → · Contrast checker → · Palette generator →

#5F7B71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva