#4E5840#4E5840

#4E5840 is a dark, muted yellow-green. Relative luminance 0.090; OKLCH L 44.4% C 0.040 H 126.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4E5840
RGBrgb(78, 88, 64)
HSLhsl(85, 16%, 30%)
HSVhsv(85, 27%, 35%)
CMYKcmyk(11.4%, 0%, 27.3%, 65.5%)
CIE-LABlab(35.93, -8.82, 12.65)
CIE-LCHlch(35.93, 15.42, 124.86°)
OKLaboklab(44.45% -0.0236 0.0321)
OKLCHoklch(44.45% 0.04 126.3)
XYZxyz(7.5569, 8.9693, 6.1826)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5840 #4A4058
analogous
#585640 #4E5840 #425840
triadic
#4E5840 #404E58 #58404E
tetradic
#4E5840 #405856 #4A4058 #584042
square
#4E5840 #405856 #4A4058 #584042
split-complementary
#4E5840 #404258 #564058
monochromatic
#10120D #2F3526 #4E5840 #6D7B5A #8C9C77

Accessibility & contrast

On white

7.52
#4E5840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E5840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5840
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5840#FFFFFF#000000##FFFFFF
##4E58401.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B553F
Deuteranopia (green-blind)
#595441
Tritanopia (blue-blind)
#4F5652
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5840;
/* rgb */ color: rgb(78, 88, 64);
/* oklch */ color: oklch(44.4% 0.040 126.3);
Tailwind
colors: {
  custom: {
    50: '#7f8775',
    500: '#4e5840',
    950: '#000000',
  },
}
SCSS
$custom: #4e5840;
$custom-light: #7f8775;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5840",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 64
  },
  "hsl": {
    "h": 85,
    "s": 15.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.44448,
    "c": 0.03981,
    "h": 126.3
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#4E5840
secondary
#786C87
accent
#6FB98E
background
#F7F8F7
surface
#EEEFED
border
#C9CAC8
text
#0A0B08
muted
#7C7C7B

Preview Lab

Preview with #4E5840

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

Preview Lab → · Contrast checker → · Palette generator →

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