#4A504A#4A504A

#4A504A is a dark, near-neutral grey. Relative luminance 0.077; OKLCH L 42.4% C 0.012 H 145.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4A504A
RGBrgb(74, 80, 74)
HSLhsl(120, 4%, 30%)
HSVhsv(120, 8%, 31%)
CMYKcmyk(7.5%, 0%, 7.5%, 68.6%)
CIE-LABlab(33.32, -3.73, 2.71)
CIE-LCHlch(33.32, 4.61, 144.05°)
OKLaboklab(42.38% -0.0102 0.0071)
OKLCHoklch(42.38% 0.012 145.3)
XYZxyz(6.9285, 7.6875, 7.5961)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A504A #504A50
analogous
#4D504A #4A504A #4A504D
triadic
#4A504A #4A4A50 #504A4A
tetradic
#4A504A #4A4D50 #504A50 #504D4A
square
#4A504A #4A4D50 #504A50 #504D4A
split-complementary
#4A504A #4D4A50 #504A4D
monochromatic
#0F100F #2D302D #4A504A #677067 #868F86

Accessibility & contrast

On white

8.28
#4A504A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4A504A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A504A
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A504A#FFFFFF#000000##FFFFFF
##4A504A1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4A
Deuteranopia (green-blind)
#4F4E4A
Tritanopia (blue-blind)
#4A504E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a504a;
/* rgb */ color: rgb(74, 80, 74);
/* oklch */ color: oklch(42.4% 0.012 145.3);
Tailwind
colors: {
  custom: {
    50: '#7c817c',
    500: '#4a504a',
    950: '#000000',
  },
}
SCSS
$custom: #4a504a;
$custom-light: #7c817c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a504a",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 74
  },
  "hsl": {
    "h": 120,
    "s": 3.896,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42383,
    "c": 0.01245,
    "h": 145.3
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#4A504A
secondary
#7E787E
accent
#7BADAD
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#090A09
muted
#7B7C7B

Preview Lab

Preview with #4A504A

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

Preview Lab → · Contrast checker → · Palette generator →

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