#4C504C#4C504C

#4C504C is a dark, near-neutral grey. Relative luminance 0.078; OKLCH L 42.6% C 0.008 H 145.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4C504C
RGBrgb(76, 80, 76)
HSLhsl(120, 3%, 31%)
HSVhsv(120, 5%, 31%)
CMYKcmyk(5%, 0%, 5%, 68.6%)
CIE-LABlab(33.55, -2.49, 1.80)
CIE-LCHlch(33.55, 3.07, 144.19°)
OKLaboklab(42.63% -0.0068 0.0047)
OKLCHoklch(42.63% 0.008 145.4)
XYZxyz(7.1534, 7.7956, 7.9639)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C504C #504C50
analogous
#4E504C #4C504C #4C504E
triadic
#4C504C #4C4C50 #504C4C
tetradic
#4C504C #4C4E50 #504C50 #504E4C
square
#4C504C #4C4E50 #504C50 #504E4C
split-complementary
#4C504C #4E4C50 #504C4E
monochromatic
#101110 #2E312E #4C504C #6A6F6A #888E88

Accessibility & contrast

On white

8.21
#4C504C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4C504C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C504C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C504C#FFFFFF#000000##FFFFFF
##4C504C1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4C
Deuteranopia (green-blind)
#4F4F4C
Tritanopia (blue-blind)
#4C504F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c504c;
/* rgb */ color: rgb(76, 80, 76);
/* oklch */ color: oklch(42.6% 0.008 145.4);
Tailwind
colors: {
  custom: {
    50: '#7e817e',
    500: '#4c504c',
    950: '#000000',
  },
}
SCSS
$custom: #4c504c;
$custom-light: #7e817e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c504c",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 76
  },
  "hsl": {
    "h": 120,
    "s": 2.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42626,
    "c": 0.0083,
    "h": 145.4
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#4C504C
secondary
#7E7A7E
accent
#7CACAC
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#090A09
muted
#7B7C7B

Preview Lab

Preview with #4C504C

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

Preview Lab → · Contrast checker → · Palette generator →

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