#4A4240#4A4240

#4A4240 is a dark, near-neutral grey. Relative luminance 0.057; OKLCH L 38.6% C 0.012 H 34.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4A4240
RGBrgb(74, 66, 64)
HSLhsl(12, 7%, 27%)
HSVhsv(12, 14%, 29%)
CMYKcmyk(0%, 10.8%, 13.5%, 71%)
CIE-LABlab(28.70, 3.00, 2.46)
CIE-LCHlch(28.70, 3.88, 39.27°)
OKLaboklab(38.65% 0.0095 0.0065)
OKLCHoklch(38.65% 0.012 34.3)
XYZxyz(5.6976, 5.7226, 5.6539)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4240 #40484A
analogous
#4A4043 #4A4240 #4A4740
triadic
#4A4240 #404A42 #42404A
tetradic
#4A4240 #434A40 #40484A #47404A
square
#4A4240 #434A40 #40484A #47404A
split-complementary
#4A4240 #404A47 #40434A
monochromatic
#100F0E #292524 #4A4240 #6B5F5C #8B7D79

Accessibility & contrast

On white

9.79
#4A4240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4A4240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4240
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4240#FFFFFF#000000##FFFFFF
##4A42401.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#454440
Tritanopia (blue-blind)
#4C4141
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a4240;
/* rgb */ color: rgb(74, 66, 64);
/* oklch */ color: oklch(38.6% 0.012 34.3);
Tailwind
colors: {
  custom: {
    50: '#7c7674',
    500: '#4a4240',
    950: '#000000',
  },
}
SCSS
$custom: #4a4240;
$custom-light: #7c7674;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4240",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 12,
    "s": 7.246,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3865,
    "c": 0.01152,
    "h": 34.3
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#4A4240
secondary
#6D7679
accent
#A5B077
background
#F7F7F7
surface
#EEEDED
border
#C9C8C8
text
#090808
muted
#7B7B7B

Preview Lab

Preview with #4A4240

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

Preview Lab → · Contrast checker → · Palette generator →

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