#5FA797#5FA797

#5FA797 is a light, moderate teal. Relative luminance 0.323; OKLCH L 67.6% C 0.077 H 177.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5FA797
RGBrgb(95, 167, 151)
HSLhsl(167, 29%, 51%)
HSVhsv(167, 43%, 65%)
CMYKcmyk(43.1%, 0%, 9.6%, 34.5%)
CIE-LABlab(63.59, -26.51, 1.23)
CIE-LCHlch(63.59, 26.54, 177.35°)
OKLaboklab(67.64% -0.0768 0.0029)
OKLCHoklch(67.64% 0.077 177.9)
XYZxyz(24.1217, 32.3029, 34.2361)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA797 #A75F6F
analogous
#5FA773 #5FA797 #5F93A7
triadic
#5FA797 #975FA7 #A7975F
tetradic
#5FA797 #735FA7 #A75F6F #93A75F
square
#5FA797 #735FA7 #A75F6F #93A75F
split-complementary
#5FA797 #A75F93 #A7735F
monochromatic
#325A51 #478275 #5FA797 #86BDB1 #AED2CA

Accessibility & contrast

On white

2.81
#5FA797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#5FA797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA797
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA797#FFFFFF#000000##000000
##5FA7971.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29F96
Deuteranopia (green-blind)
#969698
Tritanopia (blue-blind)
#45A9A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5fa797;
/* rgb */ color: rgb(95, 167, 151);
/* oklch */ color: oklch(67.6% 0.077 177.9);
Tailwind
colors: {
  custom: {
    50: '#90c1b5',
    500: '#5fa797',
    950: '#000000',
  },
}
SCSS
$custom: #5fa797;
$custom-light: #90c1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa797",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 151
  },
  "hsl": {
    "h": 166.667,
    "s": 29.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.67644,
    "c": 0.07687,
    "h": 177.9
  },
  "luminance": 0.32305
}

Semantic roles & 50–950 ramp

primary
#5FA797
secondary
#C1A1A8
accent
#6278C5
background
#F9FBFB
surface
#F1F7F6
border
#CBD0D0
text
#0D1211
muted
#7E8180

Preview Lab

Preview with #5FA797

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

Preview Lab → · Contrast checker → · Palette generator →

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