#5F625F#5F625F

#5F625F is a mid, near-neutral grey. Relative luminance 0.120; OKLCH L 49.3% C 0.006 H 145.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5F625F
RGBrgb(95, 98, 95)
HSLhsl(120, 2%, 38%)
HSVhsv(120, 3%, 38%)
CMYKcmyk(3.1%, 0%, 3.1%, 61.6%)
CIE-LABlab(41.21, -1.80, 1.30)
CIE-LCHlch(41.21, 2.22, 144.28°)
OKLaboklab(49.25% -0.005 0.0034)
OKLCHoklch(49.25% 0.006 145.5)
XYZxyz(11.1522, 11.9944, 12.5519)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F625F #625F62
analogous
#60625F #5F625F #5F6260
triadic
#5F625F #5F5F62 #625F5F
tetradic
#5F625F #5F6062 #625F62 #62605F
square
#5F625F #5F6062 #625F62 #62605F
split-complementary
#5F625F #605F62 #625F60
monochromatic
#232423 #414341 #5F625F #7D817D #9C9F9C

Accessibility & contrast

On white

6.18
#5F625F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5F625F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F625F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F625F#FFFFFF#000000##FFFFFF
##5F625F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62615F
Deuteranopia (green-blind)
#62615F
Tritanopia (blue-blind)
#5F6261
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f625f;
/* rgb */ color: rgb(95, 98, 95);
/* oklch */ color: oklch(49.3% 0.006 145.5);
Tailwind
colors: {
  custom: {
    50: '#8c8e8c',
    500: '#5f625f',
    950: '#000000',
  },
}
SCSS
$custom: #5f625f;
$custom-light: #8c8e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f625f",
  "rgb": {
    "r": 95,
    "g": 98,
    "b": 95
  },
  "hsl": {
    "h": 120,
    "s": 1.554,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4925,
    "c": 0.00601,
    "h": 145.5
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#5F625F
secondary
#908D90
accent
#7DABAB
background
#F8F8F8
surface
#F0F0F0
border
#CBCBCB
text
#0C0C0C
muted
#7D7D7D

Preview Lab

Preview with #5F625F

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

Preview Lab → · Contrast checker → · Palette generator →

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