#4E5A42#4E5A42

#4E5A42 is a mid, muted yellow-green. Relative luminance 0.093; OKLCH L 45.0% C 0.041 H 129.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4E5A42
RGBrgb(78, 90, 66)
HSLhsl(90, 15%, 31%)
HSVhsv(90, 27%, 35%)
CMYKcmyk(13.3%, 0%, 26.7%, 64.7%)
CIE-LABlab(36.60, -9.63, 12.36)
CIE-LCHlch(36.60, 15.67, 127.93°)
OKLaboklab(45% -0.0259 0.0314)
OKLCHoklch(45% 0.041 129.5)
XYZxyz(7.7813, 9.3253, 6.5432)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A42 #4E425A
analogous
#5A5A42 #4E5A42 #425A42
triadic
#4E5A42 #424E5A #5A424E
tetradic
#4E5A42 #425A5A #4E425A #5A4242
square
#4E5A42 #425A5A #4E425A #5A4242
split-complementary
#4E5A42 #42425A #5A425A
monochromatic
#11130E #2F3728 #4E5A42 #6D7D5C #8B9D79

Accessibility & contrast

On white

7.33
#4E5A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E5A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5A42
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A42#FFFFFF#000000##FFFFFF
##4E5A421.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5741
Deuteranopia (green-blind)
#5B5643
Tritanopia (blue-blind)
#4F5854
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5a42;
/* rgb */ color: rgb(78, 90, 66);
/* oklch */ color: oklch(45.0% 0.041 129.5);
Tailwind
colors: {
  custom: {
    50: '#7f8876',
    500: '#4e5a42',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a42;
$custom-light: #7f8876;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a42",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 90,
    "s": 15.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.45004,
    "c": 0.04067,
    "h": 129.5
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#4E5A42
secondary
#7C6F89
accent
#70B894
background
#F7F8F7
surface
#EEEFED
border
#C9CAC8
text
#0A0B08
muted
#7C7C7B

Preview Lab

Preview with #4E5A42

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

Preview Lab → · Contrast checker → · Palette generator →

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