#5F8271#5F8271

#5F8271 is a mid, muted teal. Relative luminance 0.196; OKLCH L 57.5% C 0.048 H 163.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5F8271
RGBrgb(95, 130, 113)
HSLhsl(151, 16%, 44%)
HSVhsv(151, 27%, 51%)
CMYKcmyk(26.9%, 0%, 13.1%, 49%)
CIE-LABlab(51.37, -16.15, 5.23)
CIE-LCHlch(51.37, 16.98, 162.05°)
OKLaboklab(57.49% -0.0455 0.0135)
OKLCHoklch(57.49% 0.048 163.4)
XYZxyz(15.6817, 19.5898, 18.5745)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8271 #825F70
analogous
#5F8260 #5F8271 #5F8282
triadic
#5F8271 #715F82 #82715F
tetradic
#5F8271 #605F82 #825F70 #82825F
square
#5F8271 #605F82 #825F70 #82825F
split-complementary
#5F8271 #825F82 #82605F
monochromatic
#2B3B34 #455F52 #5F8271 #7EA190 #A1BAAE

Accessibility & contrast

On white

4.27
#5F8271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5F8271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8271
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8271#FFFFFF#000000##000000
##5F82711.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#817D70
Deuteranopia (green-blind)
#7B7972
Tritanopia (blue-blind)
#58827D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f8271;
/* rgb */ color: rgb(95, 130, 113);
/* oklch */ color: oklch(57.5% 0.048 163.4);
Tailwind
colors: {
  custom: {
    50: '#8da699',
    500: '#5f8271',
    950: '#000000',
  },
}
SCSS
$custom: #5f8271;
$custom-light: #8da699;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8271",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 150.857,
    "s": 15.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.0475,
    "h": 163.4
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#5F8271
secondary
#A9949E
accent
#6F93B8
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C0F0E
muted
#7D7F7E

Preview Lab

Preview with #5F8271

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

Preview Lab → · Contrast checker → · Palette generator →

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