#4E4F42#4E4F42

#4E4F42 is a dark, muted yellow. Relative luminance 0.076; OKLCH L 42.3% C 0.021 H 110.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4E4F42
RGBrgb(78, 79, 66)
HSLhsl(65, 9%, 28%)
HSVhsv(65, 16%, 31%)
CMYKcmyk(1.3%, 0%, 16.5%, 69%)
CIE-LABlab(33.15, -3.05, 7.56)
CIE-LCHlch(33.15, 8.15, 111.95°)
OKLaboklab(42.26% -0.0074 0.0195)
OKLCHoklch(42.26% 0.021 110.9)
XYZxyz(6.9211, 7.6051, 6.2565)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F42 #43424F
analogous
#4F4942 #4E4F42 #474F42
triadic
#4E4F42 #424E4F #4F424E
tetradic
#4E4F42 #424F49 #43424F #4F4247
square
#4E4F42 #424F49 #43424F #4F4247
split-complementary
#4E4F42 #42474F #49424F
monochromatic
#10110E #2D2E26 #4E4F42 #6F705E #8F917B

Accessibility & contrast

On white

8.33
#4E4F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E4F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F42
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F42#FFFFFF#000000##FFFFFF
##4E4F421.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E41
Deuteranopia (green-blind)
#514E42
Tritanopia (blue-blind)
#504D4B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4f42;
/* rgb */ color: rgb(78, 79, 66);
/* oklch */ color: oklch(42.3% 0.021 110.9);
Tailwind
colors: {
  custom: {
    50: '#7f8076',
    500: '#4e4f42',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f42;
$custom-light: #7f8076;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f42",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 66
  },
  "hsl": {
    "h": 64.615,
    "s": 8.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42258,
    "c": 0.02087,
    "h": 110.9
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#4E4F42
secondary
#706F7E
accent
#76B27A
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4E4F42

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

Preview Lab → · Contrast checker → · Palette generator →

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