#4F474D#4F474D

#4F474D is a dark, near-neutral grey. Relative luminance 0.067; OKLCH L 40.8% C 0.014 H 334.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4F474D
RGBrgb(79, 71, 77)
HSLhsl(315, 5%, 29%)
HSVhsv(315, 10%, 31%)
CMYKcmyk(0%, 10.1%, 2.5%, 69%)
CIE-LABlab(31.12, 4.62, -2.36)
CIE-LCHlch(31.12, 5.19, 332.94°)
OKLaboklab(40.8% 0.013 -0.0062)
OKLCHoklch(40.8% 0.014 334.4)
XYZxyz(6.8171, 6.7046, 7.9547)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F474D #474F49
analogous
#4D474F #4F474D #4F4749
triadic
#4F474D #4D4F47 #474D4F
tetradic
#4F474D #4F4D47 #474F49 #47494F
square
#4F474D #4F4D47 #474F49 #47494F
split-complementary
#4F474D #494F47 #474F4D
monochromatic
#100E10 #2F2A2E #4F474D #6F646C #8F828B

Accessibility & contrast

On white

8.97
#4F474D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4F474D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F474D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F474D#FFFFFF#000000##FFFFFF
##4F474D1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494D
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#504749
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f474d;
/* rgb */ color: rgb(79, 71, 77);
/* oklch */ color: oklch(40.8% 0.014 334.4);
Tailwind
colors: {
  custom: {
    50: '#807a7e',
    500: '#4f474d',
    950: '#000000',
  },
}
SCSS
$custom: #4f474d;
$custom-light: #807a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f474d",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 77
  },
  "hsl": {
    "h": 315,
    "s": 5.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.408,
    "c": 0.01444,
    "h": 334.4
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#4F474D
secondary
#747D77
accent
#AE8779
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #4F474D

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

Preview Lab → · Contrast checker → · Palette generator →

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