#4E4C40#4E4C40

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

Color values

HEX#4E4C40
RGBrgb(78, 76, 64)
HSLhsl(51, 10%, 28%)
HSVhsv(51, 18%, 31%)
CMYKcmyk(0%, 2.6%, 17.9%, 69.4%)
CIE-LABlab(32.17, -1.56, 7.44)
CIE-LCHlch(32.17, 7.61, 101.86°)
OKLaboklab(41.47% -0.0032 0.0192)
OKLCHoklch(41.47% 0.019 99.4)
XYZxyz(6.6517, 7.1588, 5.8809)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C40 #40424E
analogous
#4E4540 #4E4C40 #494E40
triadic
#4E4C40 #404E4C #4C404E
tetradic
#4E4C40 #404E45 #40424E #4E4049
square
#4E4C40 #404E45 #40424E #4E4049
split-complementary
#4E4C40 #40494E #45404E
monochromatic
#11100E #2C2B24 #4E4C40 #706D5C #908D78

Accessibility & contrast

On white

8.64
#4E4C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E4C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C40
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C40#FFFFFF#000000##FFFFFF
##4E4C401.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4c40;
/* rgb */ color: rgb(78, 76, 64);
/* oklch */ color: oklch(41.5% 0.019 99.4);
Tailwind
colors: {
  custom: {
    50: '#7f7e74',
    500: '#4e4c40',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c40;
$custom-light: #7f7e74;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c40",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 64
  },
  "hsl": {
    "h": 51.429,
    "s": 9.859,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41467,
    "c": 0.01947,
    "h": 99.4
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#4E4C40
secondary
#6D6F7D
accent
#7EB375
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0908
muted
#7C7B7B

Preview Lab

Preview with #4E4C40

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

Preview Lab → · Contrast checker → · Palette generator →

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