#4E4847#4E4847

#4E4847 is a dark, near-neutral grey. Relative luminance 0.067; OKLCH L 40.7% C 0.008 H 28.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4E4847
RGBrgb(78, 72, 71)
HSLhsl(9, 5%, 29%)
HSVhsv(9, 9%, 31%)
CMYKcmyk(0%, 7.7%, 9%, 69.4%)
CIE-LABlab(31.14, 2.30, 1.50)
CIE-LCHlch(31.14, 2.75, 33.13°)
OKLaboklab(40.72% 0.0072 0.004)
OKLCHoklch(40.72% 0.008 28.9)
XYZxyz(6.5965, 6.7095, 6.9076)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4847 #474D4E
analogous
#4E474A #4E4847 #4E4C47
triadic
#4E4847 #474E48 #48474E
tetradic
#4E4847 #4A4E47 #474D4E #4C474E
square
#4E4847 #4A4E47 #474D4E #4C474E
split-complementary
#4E4847 #474E4C #474A4E
monochromatic
#100F0F #2E2A2A #4E4847 #6E6664 #8D8482

Accessibility & contrast

On white

8.97
#4E4847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E4847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4847
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4847#FFFFFF#000000##FFFFFF
##4E48471.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494947
Deuteranopia (green-blind)
#4A4A47
Tritanopia (blue-blind)
#504748
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4847;
/* rgb */ color: rgb(78, 72, 71);
/* oklch */ color: oklch(40.7% 0.008 28.9);
Tailwind
colors: {
  custom: {
    50: '#7f7a7a',
    500: '#4e4847',
    950: '#000000',
  },
}
SCSS
$custom: #4e4847;
$custom-light: #7f7a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4847",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 71
  },
  "hsl": {
    "h": 8.571,
    "s": 4.698,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40722,
    "c": 0.00827,
    "h": 28.9
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#4E4847
secondary
#747B7C
accent
#A6AE7A
background
#F7F7F7
surface
#EEEDED
border
#C9C8C8
text
#0A0909
muted
#7C7B7B

Preview Lab

Preview with #4E4847

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

Preview Lab → · Contrast checker → · Palette generator →

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