#4E474A#4E474A

#4E474A is a dark, near-neutral grey. Relative luminance 0.066; OKLCH L 40.6% C 0.011 H 349.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#4E474A
RGBrgb(78, 71, 74)
HSLhsl(334, 5%, 29%)
HSVhsv(334, 9%, 31%)
CMYKcmyk(0%, 9%, 5.1%, 69.4%)
CIE-LABlab(30.93, 3.56, -0.73)
CIE-LCHlch(30.93, 3.63, 348.41°)
OKLaboklab(40.59% 0.0104 -0.0019)
OKLCHoklch(40.59% 0.011 349.7)
XYZxyz(6.6310, 6.6207, 7.4058)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E474A #474E4B
analogous
#4E474E #4E474A #4E4847
triadic
#4E474A #4A4E47 #474A4E
tetradic
#4E474A #4E4E47 #474E4B #48474E
square
#4E474A #4E4E47 #474E4B #48474E
split-complementary
#4E474A #474E48 #474E4E
monochromatic
#100F0F #2E2A2C #4E474A #6E6468 #8D8287

Accessibility & contrast

On white

9.04
#4E474A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4E474A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E474A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E474A#FFFFFF#000000##FFFFFF
##4E474A1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484A
Deuteranopia (green-blind)
#49494A
Tritanopia (blue-blind)
#4F4748
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e474a;
/* rgb */ color: rgb(78, 71, 74);
/* oklch */ color: oklch(40.6% 0.011 349.7);
Tailwind
colors: {
  custom: {
    50: '#7f7a7c',
    500: '#4e474a',
    950: '#000000',
  },
}
SCSS
$custom: #4e474a;
$custom-light: #7f7a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e474a",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 74
  },
  "hsl": {
    "h": 334.286,
    "s": 4.698,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40589,
    "c": 0.01056,
    "h": 349.7
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#4E474A
secondary
#747C79
accent
#AE987A
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A0909
muted
#7C7B7B

Preview Lab

Preview with #4E474A

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

Preview Lab → · Contrast checker → · Palette generator →

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