#4C4E40#4C4E40

#4C4E40 is a dark, muted yellow. Relative luminance 0.074; OKLCH L 41.8% C 0.023 H 114.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4C4E40
RGBrgb(76, 78, 64)
HSLhsl(69, 10%, 28%)
HSVhsv(69, 18%, 31%)
CMYKcmyk(2.6%, 0%, 17.9%, 69.4%)
CIE-LABlab(32.60, -3.67, 8.03)
CIE-LCHlch(32.60, 8.83, 114.56°)
OKLaboklab(41.77% -0.0092 0.0207)
OKLCHoklch(41.77% 0.023 114)
XYZxyz(6.6302, 7.3555, 5.9200)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E40 #42404E
analogous
#4E4940 #4C4E40 #454E40
triadic
#4C4E40 #404C4E #4E404C
tetradic
#4C4E40 #404E49 #42404E #4E4045
square
#4C4E40 #404E49 #42404E #4E4045
split-complementary
#4C4E40 #40454E #49404E
monochromatic
#10110E #2B2C24 #4C4E40 #6D705C #8D9078

Accessibility & contrast

On white

8.50
#4C4E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4C4E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E40
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E40#FFFFFF#000000##FFFFFF
##4C4E401.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D3F
Deuteranopia (green-blind)
#504D41
Tritanopia (blue-blind)
#4E4C4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c4e40;
/* rgb */ color: rgb(76, 78, 64);
/* oklch */ color: oklch(41.8% 0.023 114.0);
Tailwind
colors: {
  custom: {
    50: '#7e7f74',
    500: '#4c4e40',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e40;
$custom-light: #7e7f74;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e40",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 64
  },
  "hsl": {
    "h": 68.571,
    "s": 9.859,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.02262,
    "h": 114
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#4C4E40
secondary
#6F6D7D
accent
#75B37E
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#090A08
muted
#7B7C7B

Preview Lab

Preview with #4C4E40

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

Preview Lab → · Contrast checker → · Palette generator →

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