#4E5142#4E5142

#4E5142 is a dark, muted yellow-green. Relative luminance 0.079; OKLCH L 42.8% C 0.024 H 116.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4E5142
RGBrgb(78, 81, 66)
HSLhsl(72, 10%, 29%)
HSVhsv(72, 19%, 32%)
CMYKcmyk(3.7%, 0%, 18.5%, 68.2%)
CIE-LABlab(33.77, -4.27, 8.43)
CIE-LCHlch(33.77, 9.45, 116.84°)
OKLaboklab(42.75% -0.0109 0.0217)
OKLCHoklch(42.75% 0.024 116.6)
XYZxyz(7.0676, 7.8979, 6.3053)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5142 #454251
analogous
#514D42 #4E5142 #475142
triadic
#4E5142 #424E51 #51424E
tetradic
#4E5142 #42514D #454251 #514247
square
#4E5142 #42514D #454251 #514247
split-complementary
#4E5142 #424751 #4D4251
monochromatic
#10110E #2E2F27 #4E5142 #6E735D #8E937A

Accessibility & contrast

On white

8.14
#4E5142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5142
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5142#FFFFFF#000000##FFFFFF
##4E51421.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F41
Deuteranopia (green-blind)
#535043
Tritanopia (blue-blind)
#504F4D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5142;
/* rgb */ color: rgb(78, 81, 66);
/* oklch */ color: oklch(42.8% 0.024 116.6);
Tailwind
colors: {
  custom: {
    50: '#7f8176',
    500: '#4e5142',
    950: '#000000',
  },
}
SCSS
$custom: #4e5142;
$custom-light: #7f8176;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5142",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 72,
    "s": 10.204,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42751,
    "c": 0.02426,
    "h": 116.6
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#4E5142
secondary
#726F80
accent
#75B381
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4E5142

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

Preview Lab → · Contrast checker → · Palette generator →

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