#4E4D42#4E4D42

#4E4D42 is a dark, near-neutral yellow. Relative luminance 0.073; OKLCH L 41.8% C 0.018 H 102.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4E4D42
RGBrgb(78, 77, 66)
HSLhsl(55, 8%, 28%)
HSVhsv(55, 15%, 31%)
CMYKcmyk(0%, 1.3%, 15.4%, 69.4%)
CIE-LABlab(32.53, -1.81, 6.68)
CIE-LCHlch(32.53, 6.93, 105.17°)
OKLaboklab(41.77% -0.004 0.0173)
OKLCHoklch(41.77% 0.018 102.9)
XYZxyz(6.7790, 7.3209, 6.2091)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D42 #42434E
analogous
#4E4742 #4E4D42 #494E42
triadic
#4E4D42 #424E4D #4D424E
tetradic
#4E4D42 #424E47 #42434E #4E4249
square
#4E4D42 #424E47 #42434E #4E4249
split-complementary
#4E4D42 #42494E #47424E
monochromatic
#11100E #2D2C26 #4E4D42 #6F6E5E #8F8E7B

Accessibility & contrast

On white

8.52
#4E4D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E4D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D42
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D42#FFFFFF#000000##FFFFFF
##4E4D421.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C41
Deuteranopia (green-blind)
#504D42
Tritanopia (blue-blind)
#504B4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4d42;
/* rgb */ color: rgb(78, 77, 66);
/* oklch */ color: oklch(41.8% 0.018 102.9);
Tailwind
colors: {
  custom: {
    50: '#7f7e76',
    500: '#4e4d42',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d42;
$custom-light: #7f7e76;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d42",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 66
  },
  "hsl": {
    "h": 55,
    "s": 8.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41769,
    "c": 0.01775,
    "h": 102.9
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#4E4D42
secondary
#6F707D
accent
#7BB176
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4E4D42

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

Preview Lab → · Contrast checker → · Palette generator →

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