#4C504E#4C504E

#4C504E is a dark, near-neutral grey. Relative luminance 0.078; OKLCH L 42.7% C 0.006 H 164.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4C504E
RGBrgb(76, 80, 78)
HSLhsl(150, 3%, 31%)
HSVhsv(150, 5%, 31%)
CMYKcmyk(5%, 0%, 2.5%, 68.6%)
CIE-LABlab(33.61, -2.05, 0.62)
CIE-LCHlch(33.61, 2.15, 163.29°)
OKLaboklab(42.69% -0.0059 0.0016)
OKLCHoklch(42.69% 0.006 164.8)
XYZxyz(7.2240, 7.8238, 8.3358)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C504E #504C4E
analogous
#4C504C #4C504E #4C5050
triadic
#4C504E #4E4C50 #504E4C
tetradic
#4C504E #4C4C50 #504C4E #50504C
square
#4C504E #4C4C50 #504C4E #50504C
split-complementary
#4C504E #504C50 #504C4C
monochromatic
#101111 #2E312F #4C504E #6A6F6D #888E8B

Accessibility & contrast

On white

8.19
#4C504E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C504E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C504E#FFFFFF#000000##FFFFFF
##4C504E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4E
Deuteranopia (green-blind)
#4F4F4E
Tritanopia (blue-blind)
#4B504F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c504e;
/* rgb */ color: rgb(76, 80, 78);
/* oklch */ color: oklch(42.7% 0.006 164.8);
Tailwind
colors: {
  custom: {
    50: '#7e817f',
    500: '#4c504e',
    950: '#000000',
  },
}
SCSS
$custom: #4c504e;
$custom-light: #7e817f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c504e",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 78
  },
  "hsl": {
    "h": 150,
    "s": 2.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42693,
    "c": 0.0061,
    "h": 164.8
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#4C504E
secondary
#7E7A7C
accent
#7C94AC
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#090A0A
muted
#7B7C7C

Preview Lab

Preview with #4C504E

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

Preview Lab → · Contrast checker → · Palette generator →

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