#5FB797#5FB797

#5FB797 is a light, moderate teal. Relative luminance 0.385; OKLCH L 71.5% C 0.098 H 167.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#5FB797
RGBrgb(95, 183, 151)
HSLhsl(158, 38%, 55%)
HSVhsv(158, 48%, 72%)
CMYKcmyk(48.1%, 0%, 17.5%, 28.2%)
CIE-LABlab(68.41, -34.20, 8.18)
CIE-LCHlch(68.41, 35.16, 166.56°)
OKLaboklab(71.54% -0.096 0.021)
OKLCHoklch(71.54% 0.098 167.7)
XYZxyz(27.2363, 38.5320, 35.2743)
Luminance0.3853 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB797 #B75F7F
analogous
#5FB76B #5FB797 #5FABB7
triadic
#5FB797 #975FB7 #B7975F
tetradic
#5FB797 #6B5FB7 #B75F7F #ABB75F
square
#5FB797 #6B5FB7 #B75F7F #ABB75F
split-complementary
#5FB797 #B75FAB #B76B5F
monochromatic
#306B56 #439678 #5FB797 #89CAB2 #B3DDCE

Accessibility & contrast

On white

2.41
#5FB797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#5FB797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB797
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB797#FFFFFF#000000##000000
##5FB7971.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AD95
Deuteranopia (green-blind)
#A6A399
Tritanopia (blue-blind)
#40B8AE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #5fb797;
/* rgb */ color: rgb(95, 183, 151);
/* oklch */ color: oklch(71.5% 0.098 167.7);
Tailwind
colors: {
  custom: {
    50: '#92cdb5',
    500: '#5fb797',
    950: '#000000',
  },
}
SCSS
$custom: #5fb797;
$custom-light: #92cdb5;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb797",
  "rgb": {
    "r": 95,
    "g": 183,
    "b": 151
  },
  "hsl": {
    "h": 158.182,
    "s": 37.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.71541,
    "c": 0.09826,
    "h": 167.7
  },
  "luminance": 0.38534
}

Semantic roles & 50–950 ramp

primary
#5FB797
secondary
#CCA6B4
accent
#5A84CE
background
#F9FCFB
surface
#F2F9F6
border
#CCD2D0
text
#0D1311
muted
#7E8280

Preview Lab

Preview with #5FB797

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

Preview Lab → · Contrast checker → · Palette generator →

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