#4E5240#4E5240

#4E5240 is a dark, muted yellow-green. Relative luminance 0.080; OKLCH L 42.9% C 0.029 H 117.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4E5240
RGBrgb(78, 82, 64)
HSLhsl(73, 12%, 29%)
HSVhsv(73, 22%, 32%)
CMYKcmyk(4.9%, 0%, 22%, 67.8%)
CIE-LABlab(34.03, -5.24, 10.05)
CIE-LCHlch(34.03, 11.34, 117.53°)
OKLaboklab(42.95% -0.0135 0.0257)
OKLCHoklch(42.95% 0.029 117.8)
XYZxyz(7.0845, 8.0245, 6.0252)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5240 #444052
analogous
#524D40 #4E5240 #455240
triadic
#4E5240 #404E52 #52404E
tetradic
#4E5240 #40524D #444052 #524045
square
#4E5240 #40524D #444052 #524045
split-complementary
#4E5240 #404552 #4D4052
monochromatic
#10110D #2D3025 #4E5240 #6F745B #8E9577

Accessibility & contrast

On white

8.06
#4E5240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E5240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5240
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5240#FFFFFF#000000##FFFFFF
##4E52401.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55503F
Deuteranopia (green-blind)
#545041
Tritanopia (blue-blind)
#50504D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e5240;
/* rgb */ color: rgb(78, 82, 64);
/* oklch */ color: oklch(42.9% 0.029 117.8);
Tailwind
colors: {
  custom: {
    50: '#7f8274',
    500: '#4e5240',
    950: '#000000',
  },
}
SCSS
$custom: #4e5240;
$custom-light: #7f8274;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5240",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 64
  },
  "hsl": {
    "h": 73.333,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42945,
    "c": 0.02904,
    "h": 117.8
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#4E5240
secondary
#716D81
accent
#73B581
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4E5240

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

Preview Lab → · Contrast checker → · Palette generator →

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