#4E474F#4E474F

#4E474F is a dark, near-neutral grey. Relative luminance 0.067; OKLCH L 40.8% C 0.016 H 322.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4E474F
RGBrgb(78, 71, 79)
HSLhsl(293, 5%, 29%)
HSVhsv(293, 10%, 31%)
CMYKcmyk(1.3%, 10.1%, 0%, 69%)
CIE-LABlab(31.09, 4.65, -3.70)
CIE-LCHlch(31.09, 5.94, 321.44°)
OKLaboklab(40.77% 0.0126 -0.0099)
OKLCHoklch(40.77% 0.016 322)
XYZxyz(6.8062, 6.6907, 8.3285)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E474F #484F47
analogous
#4A474F #4E474F #4F474C
triadic
#4E474F #4F4E47 #474F4E
tetradic
#4E474F #4F4A47 #484F47 #474C4F
square
#4E474F #4F4A47 #484F47 #474C4F
split-complementary
#4E474F #4C4F47 #474F4A
monochromatic
#100E10 #2E2A2F #4E474F #6E646F #8D828F

Accessibility & contrast

On white

8.98
#4E474F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E474F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E474F#FFFFFF#000000##FFFFFF
##4E474F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46494F
Deuteranopia (green-blind)
#48494F
Tritanopia (blue-blind)
#4E484A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e474f;
/* rgb */ color: rgb(78, 71, 79);
/* oklch */ color: oklch(40.8% 0.016 322.0);
Tailwind
colors: {
  custom: {
    50: '#7f7a80',
    500: '#4e474f',
    950: '#000000',
  },
}
SCSS
$custom: #4e474f;
$custom-light: #7f7a80;
$custom-dark: #000000;
JSON
{
  "hex": "#4e474f",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 79
  },
  "hsl": {
    "h": 292.5,
    "s": 5.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40773,
    "c": 0.01601,
    "h": 322
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#4E474F
secondary
#767D74
accent
#AE7980
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #4E474F

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

Preview Lab → · Contrast checker → · Palette generator →

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