#4E5140#4E5140

#4E5140 is a dark, muted yellow-green. Relative luminance 0.079; OKLCH L 42.7% C 0.027 H 115.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4E5140
RGBrgb(78, 81, 64)
HSLhsl(71, 12%, 28%)
HSVhsv(71, 21%, 32%)
CMYKcmyk(3.7%, 0%, 21%, 68.2%)
CIE-LABlab(33.72, -4.63, 9.62)
CIE-LCHlch(33.72, 10.68, 115.73°)
OKLaboklab(42.7% -0.0118 0.0246)
OKLCHoklch(42.7% 0.027 115.7)
XYZxyz(7.0096, 7.8748, 6.0002)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5140 #434051
analogous
#514B40 #4E5140 #455140
triadic
#4E5140 #404E51 #51404E
tetradic
#4E5140 #40514B #434051 #514045
square
#4E5140 #40514B #434051 #514045
split-complementary
#4E5140 #404551 #4B4051
monochromatic
#10110E #2D2F25 #4E5140 #6F735B #8F9477

Accessibility & contrast

On white

8.16
#4E5140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E5140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5140
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5140#FFFFFF#000000##FFFFFF
##4E51401.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544F3F
Deuteranopia (green-blind)
#534F41
Tritanopia (blue-blind)
#504F4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5140;
/* rgb */ color: rgb(78, 81, 64);
/* oklch */ color: oklch(42.7% 0.027 115.7);
Tailwind
colors: {
  custom: {
    50: '#7f8174',
    500: '#4e5140',
    950: '#000000',
  },
}
SCSS
$custom: #4e5140;
$custom-light: #7f8174;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5140",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 64
  },
  "hsl": {
    "h": 70.588,
    "s": 11.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42697,
    "c": 0.02732,
    "h": 115.7
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#4E5140
secondary
#706D80
accent
#73B57F
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4E5140

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

Preview Lab → · Contrast checker → · Palette generator →

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