#4A4A42#4A4A42

#4A4A42 is a dark, near-neutral grey. Relative luminance 0.067; OKLCH L 40.6% C 0.013 H 107.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4A4A42
RGBrgb(74, 74, 66)
HSLhsl(60, 6%, 27%)
HSVhsv(60, 11%, 29%)
CMYKcmyk(0%, 0%, 10.8%, 71%)
CIE-LABlab(31.22, -1.67, 4.78)
CIE-LCHlch(31.22, 5.07, 109.24°)
OKLaboklab(40.65% -0.0038 0.0125)
OKLCHoklch(40.65% 0.013 107)
XYZxyz(6.2561, 6.7468, 6.1259)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4A42 #42424A
analogous
#4A4642 #4A4A42 #464A42
triadic
#4A4A42 #424A4A #4A424A
tetradic
#4A4A42 #424A46 #42424A #4A4246
square
#4A4A42 #424A46 #42424A #4A4246
split-complementary
#4A4A42 #42464A #46424A
monochromatic
#10100E #2A2A25 #4A4A42 #6A6A5F #8A8A7C

Accessibility & contrast

On white

8.94
#4A4A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4A4A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4A42
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4A42#FFFFFF#000000##FFFFFF
##4A4A421.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4942
Deuteranopia (green-blind)
#4C4A42
Tritanopia (blue-blind)
#4B4948
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a4a42;
/* rgb */ color: rgb(74, 74, 66);
/* oklch */ color: oklch(40.6% 0.013 107.0);
Tailwind
colors: {
  custom: {
    50: '#7c7c76',
    500: '#4a4a42',
    950: '#000000',
  },
}
SCSS
$custom: #4a4a42;
$custom-light: #7c7c76;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4a42",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 5.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4065,
    "c": 0.01303,
    "h": 107
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#4A4A42
secondary
#6F6F79
accent
#79AF79
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#090908
muted
#7B7B7B

Preview Lab

Preview with #4A4A42

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

Preview Lab → · Contrast checker → · Palette generator →

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