#4F4E42#4F4E42

#4F4E42 is a dark, near-neutral yellow. Relative luminance 0.075; OKLCH L 42.1% C 0.019 H 103.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4F4E42
RGBrgb(79, 78, 66)
HSLhsl(55, 9%, 28%)
HSVhsv(55, 16%, 31%)
CMYKcmyk(0%, 1.3%, 16.5%, 69%)
CIE-LABlab(32.93, -2.00, 7.27)
CIE-LCHlch(32.93, 7.54, 105.37°)
OKLaboklab(42.11% -0.0044 0.0188)
OKLCHoklch(42.11% 0.019 103.3)
XYZxyz(6.9321, 7.5045, 6.2365)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4E42 #42434F
analogous
#4F4742 #4F4E42 #494F42
triadic
#4F4E42 #424F4E #4E424F
tetradic
#4F4E42 #424F47 #42434F #4F4249
square
#4F4E42 #424F47 #42434F #4F4249
split-complementary
#4F4E42 #42494F #47424F
monochromatic
#11100E #2E2D26 #4F4E42 #706F5E #918F7B

Accessibility & contrast

On white

8.40
#4F4E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4F4E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4E42
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4E42#FFFFFF#000000##FFFFFF
##4F4E421.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D41
Deuteranopia (green-blind)
#514E42
Tritanopia (blue-blind)
#514C4B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f4e42;
/* rgb */ color: rgb(79, 78, 66);
/* oklch */ color: oklch(42.1% 0.019 103.3);
Tailwind
colors: {
  custom: {
    50: '#807f76',
    500: '#4f4e42',
    950: '#000000',
  },
}
SCSS
$custom: #4f4e42;
$custom-light: #807f76;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4e42",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 66
  },
  "hsl": {
    "h": 55.385,
    "s": 8.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42109,
    "c": 0.01929,
    "h": 103.3
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#4F4E42
secondary
#6F707E
accent
#7AB276
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #4F4E42

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

Preview Lab → · Contrast checker → · Palette generator →

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