#4C5145#4C5145

#4C5145 is a dark, muted yellow-green. Relative luminance 0.079; OKLCH L 42.7% C 0.020 H 125.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4C5145
RGBrgb(76, 81, 69)
HSLhsl(85, 8%, 29%)
HSVhsv(85, 15%, 32%)
CMYKcmyk(6.2%, 0%, 14.8%, 68.2%)
CIE-LABlab(33.67, -4.55, 6.38)
CIE-LCHlch(33.67, 7.84, 125.45°)
OKLaboklab(42.66% -0.0119 0.0165)
OKLCHoklch(42.66% 0.02 125.7)
XYZxyz(6.9969, 7.8510, 6.7759)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5145 #4A4551
analogous
#515045 #4C5145 #465145
triadic
#4C5145 #454C51 #51454C
tetradic
#4C5145 #455150 #4A4551 #514546
square
#4C5145 #455150 #4A4551 #514546
split-complementary
#4C5145 #454651 #504551
monochromatic
#10110E #2D3029 #4C5145 #6B7261 #8A927F

Accessibility & contrast

On white

8.17
#4C5145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4C5145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5145
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5145#FFFFFF#000000##FFFFFF
##4C51451.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F44
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#4D504E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c5145;
/* rgb */ color: rgb(76, 81, 69);
/* oklch */ color: oklch(42.7% 0.020 125.7);
Tailwind
colors: {
  custom: {
    50: '#7e8178',
    500: '#4c5145',
    950: '#000000',
  },
}
SCSS
$custom: #4c5145;
$custom-light: #7e8178;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5145",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 85,
    "s": 8,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.02036,
    "h": 125.7
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#4C5145
secondary
#787280
accent
#77B18F
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#090A09
muted
#7B7C7B

Preview Lab

Preview with #4C5145

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

Preview Lab → · Contrast checker → · Palette generator →

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