#4E5041#4E5041

#4E5041 is a dark, muted yellow. Relative luminance 0.077; OKLCH L 42.5% C 0.024 H 113.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4E5041
RGBrgb(78, 80, 65)
HSLhsl(68, 10%, 28%)
HSVhsv(68, 19%, 31%)
CMYKcmyk(2.5%, 0%, 18.8%, 68.6%)
CIE-LABlab(33.43, -3.84, 8.59)
CIE-LCHlch(33.43, 9.41, 114.10°)
OKLaboklab(42.48% -0.0096 0.0221)
OKLCHoklch(42.48% 0.024 113.6)
XYZxyz(6.9646, 7.7387, 6.1268)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5041 #434150
analogous
#504A41 #4E5041 #465041
triadic
#4E5041 #414E50 #50414E
tetradic
#4E5041 #41504A #434150 #504146
square
#4E5041 #41504A #434150 #504146
split-complementary
#4E5041 #414650 #4A4150
monochromatic
#10110E #2D2E26 #4E5041 #6F725C #8F9279

Accessibility & contrast

On white

8.24
#4E5041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E5041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5041
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5041#FFFFFF#000000##FFFFFF
##4E50411.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E40
Deuteranopia (green-blind)
#524F42
Tritanopia (blue-blind)
#504E4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5041;
/* rgb */ color: rgb(78, 80, 65);
/* oklch */ color: oklch(42.5% 0.024 113.6);
Tailwind
colors: {
  custom: {
    50: '#7f8175',
    500: '#4e5041',
    950: '#000000',
  },
}
SCSS
$custom: #4e5041;
$custom-light: #7f8175;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5041",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 65
  },
  "hsl": {
    "h": 68,
    "s": 10.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42477,
    "c": 0.02408,
    "h": 113.6
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#4E5041
secondary
#706E7F
accent
#75B37D
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4E5041

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

Preview Lab → · Contrast checker → · Palette generator →

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