#474E4D#474E4D

#474E4D is a dark, near-neutral grey. Relative luminance 0.073; OKLCH L 41.7% C 0.009 H 186.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#474E4D
RGBrgb(71, 78, 77)
HSLhsl(171, 5%, 29%)
HSVhsv(171, 9%, 31%)
CMYKcmyk(9%, 0%, 1.3%, 69.4%)
CIE-LABlab(32.53, -3.04, -0.38)
CIE-LCHlch(32.53, 3.06, 187.03°)
OKLaboklab(41.73% -0.0091 -0.001)
OKLCHoklch(41.73% 0.009 186.6)
XYZxyz(6.6622, 7.3241, 8.0824)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E4D #4E4748
analogous
#474E4A #474E4D #474C4E
triadic
#474E4D #4D474E #4E4D47
tetradic
#474E4D #4A474E #4E4748 #4C4E47
square
#474E4D #4A474E #4E4748 #4C4E47
split-complementary
#474E4D #4E474C #4E4A47
monochromatic
#0F1010 #2A2E2D #474E4D #646E6D #828D8C

Accessibility & contrast

On white

8.52
#474E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#474E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E4D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E4D#FFFFFF#000000##FFFFFF
##474E4D1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4D
Deuteranopia (green-blind)
#4C4C4D
Tritanopia (blue-blind)
#454E4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #474e4d;
/* rgb */ color: rgb(71, 78, 77);
/* oklch */ color: oklch(41.7% 0.009 186.6);
Tailwind
colors: {
  custom: {
    50: '#7a7f7e',
    500: '#474e4d',
    950: '#000000',
  },
}
SCSS
$custom: #474e4d;
$custom-light: #7a7f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#474e4d",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 77
  },
  "hsl": {
    "h": 171.429,
    "s": 4.698,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.00919,
    "h": 186.6
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#474E4D
secondary
#7C7476
accent
#7A81AE
background
#F7F7F7
surface
#EDEEEE
border
#C8C9C9
text
#090A0A
muted
#7B7C7C

Preview Lab

Preview with #474E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#474E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva