#474240#474240

#474240 is a dark, near-neutral grey. Relative luminance 0.056; OKLCH L 38.3% C 0.008 H 43.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#474240
RGBrgb(71, 66, 64)
HSLhsl(17, 5%, 26%)
HSVhsv(17, 10%, 28%)
CMYKcmyk(0%, 7%, 9.9%, 72.2%)
CIE-LABlab(28.40, 1.70, 1.98)
CIE-LCHlch(28.40, 2.61, 49.28°)
OKLaboklab(38.34% 0.0056 0.0052)
OKLCHoklch(38.34% 0.008 43.2)
XYZxyz(5.4721, 5.6063, 5.6433)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474240 #404547
analogous
#474042 #474240 #474640
triadic
#474240 #404742 #424047
tetradic
#474240 #424740 #404547 #464047
square
#474240 #424740 #404547 #464047
split-complementary
#474240 #404746 #404247
monochromatic
#100F0F #272423 #474240 #67605D #877E7A

Accessibility & contrast

On white

9.90
#474240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#474240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474240
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474240#FFFFFF#000000##FFFFFF
##4742401.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434240
Deuteranopia (green-blind)
#444340
Tritanopia (blue-blind)
#494141
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #474240;
/* rgb */ color: rgb(71, 66, 64);
/* oklch */ color: oklch(38.3% 0.008 43.2);
Tailwind
colors: {
  custom: {
    50: '#7a7674',
    500: '#474240',
    950: '#000000',
  },
}
SCSS
$custom: #474240;
$custom-light: #7a7674;
$custom-dark: #000000;
JSON
{
  "hex": "#474240",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 17.143,
    "s": 5.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38338,
    "c": 0.00764,
    "h": 43.2
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#474240
secondary
#6D7376
accent
#9FAE79
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#090808
muted
#7B7B7B

Preview Lab

Preview with #474240

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

Preview Lab → · Contrast checker → · Palette generator →

#474240 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva