#4E5256#4E5256

#4E5256 is a dark, near-neutral grey. Relative luminance 0.083; OKLCH L 43.6% C 0.008 H 248.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4E5256
RGBrgb(78, 82, 86)
HSLhsl(210, 5%, 32%)
HSVhsv(210, 9%, 34%)
CMYKcmyk(9.3%, 4.7%, 0%, 66.3%)
CIE-LABlab(34.65, -0.69, -2.89)
CIE-LCHlch(34.65, 2.97, 256.51°)
OKLaboklab(43.64% -0.0031 -0.0078)
OKLCHoklch(43.64% 0.008 248)
XYZxyz(7.8385, 8.3261, 9.9964)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5256 #56524E
analogous
#4E5656 #4E5256 #4E4E56
triadic
#4E5256 #564E52 #52564E
tetradic
#4E5256 #564E56 #56524E #4E564E
square
#4E5256 #564E56 #56524E #4E564E
split-complementary
#4E5256 #564E4E #56564E
monochromatic
#141516 #313336 #4E5256 #6B7176 #8A8F95

Accessibility & contrast

On white

7.88
#4E5256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E5256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5256
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5256#FFFFFF#000000##FFFFFF
##4E52561.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515256
Deuteranopia (green-blind)
#505156
Tritanopia (blue-blind)
#4C5353
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e5256;
/* rgb */ color: rgb(78, 82, 86);
/* oklch */ color: oklch(43.6% 0.008 248.0);
Tailwind
colors: {
  custom: {
    50: '#7f8285',
    500: '#4e5256',
    950: '#000000',
  },
}
SCSS
$custom: #4e5256;
$custom-light: #7f8285;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5256",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 86
  },
  "hsl": {
    "h": 210,
    "s": 4.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43638,
    "c": 0.00837,
    "h": 248
  },
  "luminance": 0.08326
}

Semantic roles & 50–950 ramp

primary
#4E5256
secondary
#84807C
accent
#947AAE
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A0A0B
muted
#7C7C7C

Preview Lab

Preview with #4E5256

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

Preview Lab → · Contrast checker → · Palette generator →

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