#4E4E40#4E4E40

#4E4E40 is a dark, muted yellow. Relative luminance 0.074; OKLCH L 42.0% C 0.022 H 107.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4E4E40
RGBrgb(78, 78, 64)
HSLhsl(60, 10%, 28%)
HSVhsv(60, 18%, 31%)
CMYKcmyk(0%, 0%, 17.9%, 69.4%)
CIE-LABlab(32.79, -2.80, 8.31)
CIE-LCHlch(32.79, 8.77, 108.61°)
OKLaboklab(41.96% -0.0067 0.0214)
OKLCHoklch(41.96% 0.022 107.3)
XYZxyz(6.7916, 7.4387, 5.9275)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E40 #40404E
analogous
#4E4740 #4E4E40 #474E40
triadic
#4E4E40 #404E4E #4E404E
tetradic
#4E4E40 #404E47 #40404E #4E4047
square
#4E4E40 #404E47 #40404E #4E4047
split-complementary
#4E4E40 #40474E #47404E
monochromatic
#11110E #2C2C24 #4E4E40 #70705C #909078

Accessibility & contrast

On white

8.44
#4E4E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4E40
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E40#FFFFFF#000000##FFFFFF
##4E4E401.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3F
Deuteranopia (green-blind)
#514D40
Tritanopia (blue-blind)
#504C4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4e40;
/* rgb */ color: rgb(78, 78, 64);
/* oklch */ color: oklch(42.0% 0.022 107.3);
Tailwind
colors: {
  custom: {
    50: '#7f7f74',
    500: '#4e4e40',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e40;
$custom-light: #7f7f74;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e40",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 9.859,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41957,
    "c": 0.0224,
    "h": 107.3
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#4E4E40
secondary
#6D6D7D
accent
#75B375
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4E4E40

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

Preview Lab → · Contrast checker → · Palette generator →

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