#474E4E#474E4E

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

Color values

HEX#474E4E
RGBrgb(71, 78, 78)
HSLhsl(180, 5%, 29%)
HSVhsv(180, 9%, 31%)
CMYKcmyk(9%, 0%, 0%, 69.4%)
CIE-LABlab(32.56, -2.81, -0.97)
CIE-LCHlch(32.56, 2.97, 198.97°)
OKLaboklab(41.76% -0.0087 -0.0026)
OKLCHoklch(41.76% 0.009 196.8)
XYZxyz(6.6978, 7.3383, 8.2698)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E4E #4E4747
analogous
#474E4B #474E4E #474B4E
triadic
#474E4E #4E474E #4E4E47
tetradic
#474E4E #4B474E #4E4747 #4B4E47
square
#474E4E #4B474E #4E4747 #4B4E47
split-complementary
#474E4E #4E474B #4E4B47
monochromatic
#0F1010 #2A2E2E #474E4E #646E6E #828D8D

Accessibility & contrast

On white

8.51
#474E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#474E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E4E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E4E#FFFFFF#000000##FFFFFF
##474E4E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4E
Deuteranopia (green-blind)
#4C4C4E
Tritanopia (blue-blind)
#454F4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #474e4e;
/* rgb */ color: rgb(71, 78, 78);
/* oklch */ color: oklch(41.8% 0.009 196.8);
Tailwind
colors: {
  custom: {
    50: '#7a7f7f',
    500: '#474e4e',
    950: '#000000',
  },
}
SCSS
$custom: #474e4e;
$custom-light: #7a7f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#474e4e",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 78
  },
  "hsl": {
    "h": 180,
    "s": 4.698,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.00905,
    "h": 196.8
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#474E4E
secondary
#7C7474
accent
#7A7AAE
background
#F7F7F7
surface
#EDEEEE
border
#C8C9C9
text
#090A0A
muted
#7B7C7C

Preview Lab

Preview with #474E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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