#4E5045#4E5045

#4E5045 is a dark, near-neutral grey. Relative luminance 0.078; OKLCH L 42.6% C 0.018 H 115.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4E5045
RGBrgb(78, 80, 69)
HSLhsl(71, 7%, 29%)
HSVhsv(71, 14%, 31%)
CMYKcmyk(2.5%, 0%, 13.8%, 68.6%)
CIE-LABlab(33.53, -3.09, 6.22)
CIE-LCHlch(33.53, 6.94, 116.41°)
OKLaboklab(42.59% -0.0077 0.0161)
OKLCHoklch(42.59% 0.018 115.5)
XYZxyz(7.0846, 7.7867, 6.7588)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5045 #474550
analogous
#504D45 #4E5045 #495045
triadic
#4E5045 #454E50 #50454E
tetradic
#4E5045 #45504D #474550 #504549
square
#4E5045 #45504D #474550 #504549
split-complementary
#4E5045 #454950 #4D4550
monochromatic
#10100E #2E2F29 #4E5045 #6E7161 #8D917F

Accessibility & contrast

On white

8.21
#4E5045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E5045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5045
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5045#FFFFFF#000000##FFFFFF
##4E50451.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F44
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#4F4F4D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5045;
/* rgb */ color: rgb(78, 80, 69);
/* oklch */ color: oklch(42.6% 0.018 115.5);
Tailwind
colors: {
  custom: {
    50: '#7f8178',
    500: '#4e5045',
    950: '#000000',
  },
}
SCSS
$custom: #4e5045;
$custom-light: #7f8178;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5045",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 69
  },
  "hsl": {
    "h": 70.909,
    "s": 7.383,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.01786,
    "h": 115.5
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#4E5045
secondary
#74727F
accent
#77B082
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #4E5045

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

Preview Lab → · Contrast checker → · Palette generator →

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