#5F686E#5F686E

#5F686E is a mid, near-neutral grey. Relative luminance 0.135; OKLCH L 51.2% C 0.015 H 236.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5F686E
RGBrgb(95, 104, 110)
HSLhsl(204, 7%, 40%)
HSVhsv(204, 14%, 43%)
CMYKcmyk(13.6%, 5.5%, 0%, 56.9%)
CIE-LABlab(43.45, -2.08, -4.54)
CIE-LCHlch(43.45, 4.99, 245.37°)
OKLaboklab(51.17% -0.008 -0.0122)
OKLCHoklch(51.17% 0.015 236.9)
XYZxyz(12.4834, 13.4591, 16.6890)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F686E #6E655F
analogous
#5F6E6C #5F686E #5F606E
triadic
#5F686E #6E5F68 #686E5F
tetradic
#5F686E #6C5F6E #6E655F #606E5F
square
#5F686E #6C5F6E #6E655F #606E5F
split-complementary
#5F686E #6E5F60 #6E6C5F
monochromatic
#262A2C #43494D #5F686E #7C878E #9DA5AA

Accessibility & contrast

On white

5.69
#5F686E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5F686E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F686E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F686E#FFFFFF#000000##FFFFFF
##5F686E1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65686E
Deuteranopia (green-blind)
#63666E
Tritanopia (blue-blind)
#5B6A6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f686e;
/* rgb */ color: rgb(95, 104, 110);
/* oklch */ color: oklch(51.2% 0.015 236.9);
Tailwind
colors: {
  custom: {
    50: '#8c9397',
    500: '#5f686e',
    950: '#000000',
  },
}
SCSS
$custom: #5f686e;
$custom-light: #8c9397;
$custom-dark: #000000;
JSON
{
  "hex": "#5f686e",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 110
  },
  "hsl": {
    "h": 204,
    "s": 7.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.0146,
    "h": 236.9
  },
  "luminance": 0.13459
}

Semantic roles & 50–950 ramp

primary
#5F686E
secondary
#9A938F
accent
#8E77B0
background
#F8F9F9
surface
#F0F1F2
border
#CBCBCC
text
#0C0D0D
muted
#7D7E7E

Preview Lab

Preview with #5F686E

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

Preview Lab → · Contrast checker → · Palette generator →

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