#4C5A42#4C5A42

#4C5A42 is a dark, muted yellow-green. Relative luminance 0.092; OKLCH L 44.8% C 0.042 H 132.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#4C5A42
RGBrgb(76, 90, 66)
HSLhsl(95, 15%, 31%)
HSVhsv(95, 27%, 35%)
CMYKcmyk(15.6%, 0%, 26.7%, 64.7%)
CIE-LABlab(36.45, -10.47, 12.12)
CIE-LCHlch(36.45, 16.01, 130.82°)
OKLaboklab(44.84% -0.0282 0.0308)
OKLCHoklch(44.84% 0.042 132.5)
XYZxyz(7.6198, 9.2421, 6.5357)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5A42 #50425A
analogous
#585A42 #4C5A42 #425A44
triadic
#4C5A42 #424C5A #5A424C
tetradic
#4C5A42 #42585A #50425A #5A4442
square
#4C5A42 #42585A #50425A #5A4442
split-complementary
#4C5A42 #44425A #5A4258
monochromatic
#10130E #2E3728 #4C5A42 #6A7D5C #889D79

Accessibility & contrast

On white

7.37
#4C5A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4C5A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5A42
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5A42#FFFFFF#000000##FFFFFF
##4C5A421.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5641
Deuteranopia (green-blind)
#5A5543
Tritanopia (blue-blind)
#4C5854
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c5a42;
/* rgb */ color: rgb(76, 90, 66);
/* oklch */ color: oklch(44.8% 0.042 132.5);
Tailwind
colors: {
  custom: {
    50: '#7e8876',
    500: '#4c5a42',
    950: '#000000',
  },
}
SCSS
$custom: #4c5a42;
$custom-light: #7e8876;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5a42",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 66
  },
  "hsl": {
    "h": 95,
    "s": 15.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44839,
    "c": 0.04177,
    "h": 132.5
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#4C5A42
secondary
#7E6F89
accent
#70B89A
background
#F7F8F7
surface
#EEEFED
border
#C9CAC8
text
#0A0B08
muted
#7C7C7B

Preview Lab

Preview with #4C5A42

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

Preview Lab → · Contrast checker → · Palette generator →

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