#4E4E42#4E4E42

#4E4E42 is a dark, near-neutral yellow. Relative luminance 0.075; OKLCH L 42.0% C 0.019 H 107.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4E4E42
RGBrgb(78, 78, 66)
HSLhsl(60, 8%, 28%)
HSVhsv(60, 15%, 31%)
CMYKcmyk(0%, 0%, 15.4%, 69.4%)
CIE-LABlab(32.84, -2.43, 7.12)
CIE-LCHlch(32.84, 7.52, 108.83°)
OKLaboklab(42.01% -0.0057 0.0184)
OKLCHoklch(42.01% 0.019 107.2)
XYZxyz(6.8496, 7.4619, 6.2326)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E42 #42424E
analogous
#4E4842 #4E4E42 #484E42
triadic
#4E4E42 #424E4E #4E424E
tetradic
#4E4E42 #424E48 #42424E #4E4248
square
#4E4E42 #424E48 #42424E #4E4248
split-complementary
#4E4E42 #42484E #48424E
monochromatic
#11110E #2D2D26 #4E4E42 #6F6F5E #8F8F7B

Accessibility & contrast

On white

8.43
#4E4E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E4E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E42
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E42#FFFFFF#000000##FFFFFF
##4E4E421.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D41
Deuteranopia (green-blind)
#504D42
Tritanopia (blue-blind)
#504C4B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4e42;
/* rgb */ color: rgb(78, 78, 66);
/* oklch */ color: oklch(42.0% 0.019 107.2);
Tailwind
colors: {
  custom: {
    50: '#7f7f76',
    500: '#4e4e42',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e42;
$custom-light: #7f7f76;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e42",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 8.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.01926,
    "h": 107.2
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#4E4E42
secondary
#6F6F7D
accent
#76B176
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4E4E42

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

Preview Lab → · Contrast checker → · Palette generator →

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