#4E4747#4E4747

#4E4747 is a dark, near-neutral grey. Relative luminance 0.066; OKLCH L 40.5% C 0.009 H 17.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4E4747
RGBrgb(78, 71, 71)
HSLhsl(0, 5%, 29%)
HSVhsv(0, 9%, 31%)
CMYKcmyk(0%, 9%, 9%, 69.4%)
CIE-LABlab(30.83, 2.94, 1.06)
CIE-LCHlch(30.83, 3.12, 19.91°)
OKLaboklab(40.49% 0.009 0.0029)
OKLCHoklch(40.49% 0.009 17.5)
XYZxyz(6.5323, 6.5812, 6.8862)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4747 #474E4E
analogous
#4E474B #4E4747 #4E4B47
triadic
#4E4747 #474E47 #47474E
tetradic
#4E4747 #4B4E47 #474E4E #4B474E
square
#4E4747 #4B4E47 #474E4E #4B474E
split-complementary
#4E4747 #474E4B #474B4E
monochromatic
#100F0F #2E2A2A #4E4747 #6E6464 #8D8282

Accessibility & contrast

On white

9.07
#4E4747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4747
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4747#FFFFFF#000000##FFFFFF
##4E47471.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484847
Deuteranopia (green-blind)
#4A4947
Tritanopia (blue-blind)
#504647
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4747;
/* rgb */ color: rgb(78, 71, 71);
/* oklch */ color: oklch(40.5% 0.009 17.5);
Tailwind
colors: {
  custom: {
    50: '#7f7a7a',
    500: '#4e4747',
    950: '#000000',
  },
}
SCSS
$custom: #4e4747;
$custom-light: #7f7a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4747",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 71
  },
  "hsl": {
    "h": 0,
    "s": 4.698,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.00946,
    "h": 17.5
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#4E4747
secondary
#747C7C
accent
#AEAE7A
background
#F7F7F7
surface
#EEEDED
border
#C9C8C8
text
#0A0909
muted
#7C7B7B

Preview Lab

Preview with #4E4747

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

Preview Lab → · Contrast checker → · Palette generator →

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