#4E5040#4E5040

#4E5040 is a dark, muted yellow. Relative luminance 0.077; OKLCH L 42.4% C 0.026 H 113.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4E5040
RGBrgb(78, 80, 64)
HSLhsl(68, 11%, 28%)
HSVhsv(68, 20%, 31%)
CMYKcmyk(2.5%, 0%, 20%, 68.6%)
CIE-LABlab(33.41, -4.02, 9.18)
CIE-LCHlch(33.41, 10.03, 113.67°)
OKLaboklab(42.45% -0.0101 0.0235)
OKLCHoklch(42.45% 0.026 113.3)
XYZxyz(6.9359, 7.7272, 5.9756)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5040 #424050
analogous
#504A40 #4E5040 #465040
triadic
#4E5040 #404E50 #50404E
tetradic
#4E5040 #40504A #424050 #504046
square
#4E5040 #40504A #424050 #504046
split-complementary
#4E5040 #404650 #4A4050
monochromatic
#11110E #2D2E25 #4E5040 #6F725B #8F9378

Accessibility & contrast

On white

8.25
#4E5040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5040
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5040#FFFFFF#000000##FFFFFF
##4E50401.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E3F
Deuteranopia (green-blind)
#524F41
Tritanopia (blue-blind)
#504E4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5040;
/* rgb */ color: rgb(78, 80, 64);
/* oklch */ color: oklch(42.4% 0.026 113.3);
Tailwind
colors: {
  custom: {
    50: '#7f8174',
    500: '#4e5040',
    950: '#000000',
  },
}
SCSS
$custom: #4e5040;
$custom-light: #7f8174;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5040",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 67.5,
    "s": 11.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.02563,
    "h": 113.3
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#4E5040
secondary
#6F6D7F
accent
#74B47C
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4E5040

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

Preview Lab → · Contrast checker → · Palette generator →

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