#5F8A8A#5F8A8A

#5F8A8A is a mid, muted teal. Relative luminance 0.224; OKLCH L 60.2% C 0.047 H 196.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5F8A8A
RGBrgb(95, 138, 138)
HSLhsl(180, 18%, 46%)
HSVhsv(180, 31%, 54%)
CMYKcmyk(31.2%, 0%, 0%, 45.9%)
CIE-LABlab(54.49, -14.65, -4.73)
CIE-LCHlch(54.49, 15.39, 197.90°)
OKLaboklab(60.22% -0.0453 -0.013)
OKLCHoklch(60.22% 0.047 196)
XYZxyz(18.3937, 22.4438, 27.4027)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8A8A #8A5F5F
analogous
#5F8A74 #5F8A8A #5F748A
triadic
#5F8A8A #8A5F8A #8A8A5F
tetradic
#5F8A8A #745F8A #8A5F5F #748A5F
square
#5F8A8A #745F8A #8A5F5F #748A5F
split-complementary
#5F8A8A #8A5F74 #8A745F
monochromatic
#2D4242 #466666 #5F8A8A #7FA7A7 #A3C0C0

Accessibility & contrast

On white

3.83
#5F8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5F8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8A8A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8A8A#FFFFFF#000000##000000
##5F8A8A1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85868A
Deuteranopia (green-blind)
#7C808A
Tritanopia (blue-blind)
#4F8D8A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f8a8a;
/* rgb */ color: rgb(95, 138, 138);
/* oklch */ color: oklch(60.2% 0.047 196.0);
Tailwind
colors: {
  custom: {
    50: '#8eacac',
    500: '#5f8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #5f8a8a;
$custom-light: #8eacac;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8a8a",
  "rgb": {
    "r": 95,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 180,
    "s": 18.455,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6022,
    "c": 0.04715,
    "h": 196
  },
  "luminance": 0.22445
}

Semantic roles & 50–950 ramp

primary
#5F8A8A
secondary
#AE9696
accent
#6D6DBB
background
#F8FAFA
surface
#F0F4F4
border
#CBCECE
text
#0C1010
muted
#7D7F7F

Preview Lab

Preview with #5F8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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