#4E4F40#4E4F40

#4E4F40 is a dark, muted yellow. Relative luminance 0.076; OKLCH L 42.2% C 0.024 H 110.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4E4F40
RGBrgb(78, 79, 64)
HSLhsl(64, 10%, 28%)
HSVhsv(64, 19%, 31%)
CMYKcmyk(1.3%, 0%, 19%, 69%)
CIE-LABlab(33.10, -3.41, 8.75)
CIE-LCHlch(33.10, 9.39, 111.32°)
OKLaboklab(42.2% -0.0084 0.0225)
OKLCHoklch(42.2% 0.024 110.5)
XYZxyz(6.8632, 7.5819, 5.9514)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F40 #41404F
analogous
#4F4840 #4E4F40 #464F40
triadic
#4E4F40 #404E4F #4F404E
tetradic
#4E4F40 #404F48 #41404F #4F4046
square
#4E4F40 #404F48 #41404F #4F4046
split-complementary
#4E4F40 #40464F #48404F
monochromatic
#11110E #2D2D25 #4E4F40 #6F715B #909278

Accessibility & contrast

On white

8.35
#4E4F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4F40
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F40#FFFFFF#000000##FFFFFF
##4E4F401.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4f40;
/* rgb */ color: rgb(78, 79, 64);
/* oklch */ color: oklch(42.2% 0.024 110.5);
Tailwind
colors: {
  custom: {
    50: '#7f8074',
    500: '#4e4f40',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f40;
$custom-light: #7f8074;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f40",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 64
  },
  "hsl": {
    "h": 64,
    "s": 10.49,
    "l": 28.039
  },
  "oklch": {
    "l": 0.42202,
    "c": 0.02398,
    "h": 110.5
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#4E4F40
secondary
#6E6D7E
accent
#74B379
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4E4F40

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

Preview Lab → · Contrast checker → · Palette generator →

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