#4E504F#4E504F

#4E504F is a dark, near-neutral grey. Relative luminance 0.079; OKLCH L 42.9% C 0.003 H 165.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4E504F
RGBrgb(78, 80, 79)
HSLhsl(150, 1%, 31%)
HSVhsv(150, 3%, 31%)
CMYKcmyk(2.5%, 0%, 1.2%, 68.6%)
CIE-LABlab(33.82, -1.03, 0.30)
CIE-LCHlch(33.82, 1.07, 163.47°)
OKLaboklab(42.91% -0.0029 0.0008)
OKLCHoklch(42.91% 0.003 165)
XYZxyz(7.4216, 7.9215, 8.5336)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E504F #504E4F
analogous
#4E504E #4E504F #4E5050
triadic
#4E504F #4F4E50 #504F4E
tetradic
#4E504F #4E4E50 #504E4F #50504E
square
#4E504F #4E4E50 #504E4F #50504E
split-complementary
#4E504F #504E50 #504E4E
monochromatic
#121212 #303130 #4E504F #6C6F6E #8B8E8C

Accessibility & contrast

On white

8.13
#4E504F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E504F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E504F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E504F#FFFFFF#000000##FFFFFF
##4E504F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50504F
Deuteranopia (green-blind)
#504F4F
Tritanopia (blue-blind)
#4E5050
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e504f;
/* rgb */ color: rgb(78, 80, 79);
/* oklch */ color: oklch(42.9% 0.003 165.0);
Tailwind
colors: {
  custom: {
    50: '#7f8180',
    500: '#4e504f',
    950: '#000000',
  },
}
SCSS
$custom: #4e504f;
$custom-light: #7f8180;
$custom-dark: #000000;
JSON
{
  "hex": "#4e504f",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 79
  },
  "hsl": {
    "h": 150,
    "s": 1.266,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.00305,
    "h": 165
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#4E504F
secondary
#7E7C7D
accent
#7D94AB
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #4E504F

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

Preview Lab → · Contrast checker → · Palette generator →

#4E504F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva