#4E4C42#4E4C42

#4E4C42 is a dark, near-neutral yellow. Relative luminance 0.072; OKLCH L 41.5% C 0.016 H 97.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4E4C42
RGBrgb(78, 76, 66)
HSLhsl(50, 8%, 28%)
HSVhsv(50, 15%, 31%)
CMYKcmyk(0%, 2.6%, 15.4%, 69.4%)
CIE-LABlab(32.22, -1.19, 6.25)
CIE-LCHlch(32.22, 6.36, 100.79°)
OKLaboklab(41.53% -0.0022 0.0162)
OKLCHoklch(41.53% 0.016 97.7)
XYZxyz(6.7096, 7.1820, 6.1860)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C42 #42444E
analogous
#4E4642 #4E4C42 #4A4E42
triadic
#4E4C42 #424E4C #4C424E
tetradic
#4E4C42 #424E46 #42444E #4E424A
square
#4E4C42 #424E46 #42444E #4E424A
split-complementary
#4E4C42 #424A4E #46424E
monochromatic
#11100E #2D2C26 #4E4C42 #6F6C5E #8F8C7B

Accessibility & contrast

On white

8.62
#4E4C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E4C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C42
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C42#FFFFFF#000000##FFFFFF
##4E4C421.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B41
Deuteranopia (green-blind)
#4F4C42
Tritanopia (blue-blind)
#504A49
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4c42;
/* rgb */ color: rgb(78, 76, 66);
/* oklch */ color: oklch(41.5% 0.016 97.7);
Tailwind
colors: {
  custom: {
    50: '#7f7e76',
    500: '#4e4c42',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c42;
$custom-light: #7f7e76;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c42",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 66
  },
  "hsl": {
    "h": 50,
    "s": 8.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41525,
    "c": 0.01635,
    "h": 97.7
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#4E4C42
secondary
#6F717D
accent
#80B176
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0908
muted
#7C7B7B

Preview Lab

Preview with #4E4C42

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

Preview Lab → · Contrast checker → · Palette generator →

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