#4D5145#4D5145

#4D5145 is a dark, near-neutral yellow-green. Relative luminance 0.079; OKLCH L 42.7% C 0.020 H 122.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4D5145
RGBrgb(77, 81, 69)
HSLhsl(80, 8%, 29%)
HSVhsv(80, 15%, 32%)
CMYKcmyk(4.9%, 0%, 14.8%, 68.2%)
CIE-LABlab(33.76, -4.12, 6.52)
CIE-LCHlch(33.76, 7.71, 122.32°)
OKLaboklab(42.75% -0.0106 0.0169)
OKLCHoklch(42.75% 0.02 122.2)
XYZxyz(7.0770, 7.8923, 6.7796)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5145 #494551
analogous
#514F45 #4D5145 #475145
triadic
#4D5145 #454D51 #51454D
tetradic
#4D5145 #45514F #494551 #514547
square
#4D5145 #45514F #494551 #514547
split-complementary
#4D5145 #454751 #4F4551
monochromatic
#10110E #2E3029 #4D5145 #6C7261 #8B927F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5145#FFFFFF#000000##FFFFFF
##4D51451.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)
#534F44
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#4E504E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d5145;
/* rgb */ color: rgb(77, 81, 69);
/* oklch */ color: oklch(42.7% 0.020 122.2);
Tailwind
colors: {
  custom: {
    50: '#7e8178',
    500: '#4d5145',
    950: '#000000',
  },
}
SCSS
$custom: #4d5145;
$custom-light: #7e8178;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5145",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 80,
    "s": 8,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42745,
    "c": 0.01996,
    "h": 122.2
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#4D5145
secondary
#777280
accent
#77B18A
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #4D5145

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

Preview Lab → · Contrast checker → · Palette generator →

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