#4E504A#4E504A

#4E504A is a dark, near-neutral grey. Relative luminance 0.079; OKLCH L 42.7% C 0.010 H 121.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4E504A
RGBrgb(78, 80, 74)
HSLhsl(80, 4%, 30%)
HSVhsv(80, 8%, 31%)
CMYKcmyk(2.5%, 0%, 7.5%, 68.6%)
CIE-LABlab(33.67, -2.09, 3.25)
CIE-LCHlch(33.67, 3.87, 122.68°)
OKLaboklab(42.74% -0.0053 0.0085)
OKLCHoklch(42.74% 0.01 121.9)
XYZxyz(7.2464, 7.8514, 7.6110)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E504A #4C4A50
analogous
#504F4A #4E504A #4B504A
triadic
#4E504A #4A4E50 #504A4E
tetradic
#4E504A #4A504F #4C4A50 #504A4B
square
#4E504A #4A504F #4C4A50 #504A4B
split-complementary
#4E504A #4A4B50 #4F4A50
monochromatic
#10100F #2F302D #4E504A #6D7067 #8C8F86

Accessibility & contrast

On white

8.17
#4E504A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E504A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E504A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E504A#FFFFFF#000000##FFFFFF
##4E504A1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F4A
Deuteranopia (green-blind)
#514F4A
Tritanopia (blue-blind)
#4F4F4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e504a;
/* rgb */ color: rgb(78, 80, 74);
/* oklch */ color: oklch(42.7% 0.010 121.9);
Tailwind
colors: {
  custom: {
    50: '#7f817c',
    500: '#4e504a',
    950: '#000000',
  },
}
SCSS
$custom: #4e504a;
$custom-light: #7f817c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e504a",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 74
  },
  "hsl": {
    "h": 80,
    "s": 3.896,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42744,
    "c": 0.01003,
    "h": 121.9
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#4E504A
secondary
#7A787E
accent
#7BAD8C
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #4E504A

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

Preview Lab → · Contrast checker → · Palette generator →

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