#4E474E#4E474E

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

Color values

HEX#4E474E
RGBrgb(78, 71, 78)
HSLhsl(300, 5%, 29%)
HSVhsv(300, 9%, 31%)
CMYKcmyk(0%, 9%, 0%, 69.4%)
CIE-LABlab(31.06, 4.43, -3.11)
CIE-LCHlch(31.06, 5.41, 324.89°)
OKLaboklab(40.74% 0.0122 -0.0083)
OKLCHoklch(40.74% 0.015 325.8)
XYZxyz(6.7701, 6.6763, 8.1383)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E474E #474E47
analogous
#4B474E #4E474E #4E474B
triadic
#4E474E #4E4E47 #474E4E
tetradic
#4E474E #4E4B47 #474E47 #474B4E
square
#4E474E #4E4B47 #474E47 #474B4E
split-complementary
#4E474E #4B4E47 #474E4B
monochromatic
#100F10 #2E2A2E #4E474E #6E646E #8D828D

Accessibility & contrast

On white

8.99
#4E474E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E474E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E474E#FFFFFF#000000##FFFFFF
##4E474E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494E
Deuteranopia (green-blind)
#48494E
Tritanopia (blue-blind)
#4F4849
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e474e;
/* rgb */ color: rgb(78, 71, 78);
/* oklch */ color: oklch(40.7% 0.015 325.8);
Tailwind
colors: {
  custom: {
    50: '#7f7a7f',
    500: '#4e474e',
    950: '#000000',
  },
}
SCSS
$custom: #4e474e;
$custom-light: #7f7a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e474e",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 4.698,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40735,
    "c": 0.01471,
    "h": 325.8
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#4E474E
secondary
#747C74
accent
#AE7A7A
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #4E474E

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

Preview Lab → · Contrast checker → · Palette generator →

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