#4D474E#4D474E

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

Color values

HEX#4D474E
RGBrgb(77, 71, 78)
HSLhsl(291, 5%, 29%)
HSVhsv(291, 9%, 31%)
CMYKcmyk(1.3%, 9%, 0%, 69.4%)
CIE-LABlab(30.96, 4.02, -3.27)
CIE-LCHlch(30.96, 5.18, 320.86°)
OKLaboklab(40.63% 0.0109 -0.0087)
OKLCHoklch(40.63% 0.014 321.4)
XYZxyz(6.6887, 6.6344, 8.1344)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D474E #484E47
analogous
#4A474E #4D474E #4E474C
triadic
#4D474E #4E4D47 #474E4D
tetradic
#4D474E #4E4A47 #484E47 #474C4E
square
#4D474E #4E4A47 #484E47 #474C4E
split-complementary
#4D474E #4C4E47 #474E4A
monochromatic
#100F10 #2D2A2E #4D474E #6D646E #8C828D

Accessibility & contrast

On white

9.03
#4D474E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4D474E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D474E
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D474E#FFFFFF#000000##FFFFFF
##4D474E1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d474e;
/* rgb */ color: rgb(77, 71, 78);
/* oklch */ color: oklch(40.6% 0.014 321.4);
Tailwind
colors: {
  custom: {
    50: '#7e7a7f',
    500: '#4d474e',
    950: '#000000',
  },
}
SCSS
$custom: #4d474e;
$custom-light: #7e7a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d474e",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 78
  },
  "hsl": {
    "h": 291.429,
    "s": 4.698,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.01392,
    "h": 321.4
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#4D474E
secondary
#767C74
accent
#AE7A81
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #4D474E

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

Preview Lab → · Contrast checker → · Palette generator →

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