#504E41#504E41

#504E41 is a dark, muted yellow. Relative luminance 0.075; OKLCH L 42.2% C 0.021 H 100.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#504E41
RGBrgb(80, 78, 65)
HSLhsl(52, 10%, 28%)
HSVhsv(52, 19%, 31%)
CMYKcmyk(0%, 2.5%, 18.8%, 68.6%)
CIE-LABlab(33.00, -1.74, 8.01)
CIE-LCHlch(33.00, 8.19, 102.29°)
OKLaboklab(42.18% -0.0036 0.0206)
OKLCHoklch(42.18% 0.021 100)
XYZxyz(6.9867, 7.5360, 6.0865)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E41 #414350
analogous
#504641 #504E41 #4A5041
triadic
#504E41 #41504E #4E4150
tetradic
#504E41 #415046 #414350 #50414A
square
#504E41 #415046 #414350 #50414A
split-complementary
#504E41 #414A50 #464150
monochromatic
#11100E #2E2D26 #504E41 #726F5C #928F79

Accessibility & contrast

On white

8.38
#504E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#504E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E41
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E41#FFFFFF#000000##FFFFFF
##504E411.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D40
Deuteranopia (green-blind)
#514E41
Tritanopia (blue-blind)
#524C4A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #504e41;
/* rgb */ color: rgb(80, 78, 65);
/* oklch */ color: oklch(42.2% 0.021 100.0);
Tailwind
colors: {
  custom: {
    50: '#817f75',
    500: '#504e41',
    950: '#000000',
  },
}
SCSS
$custom: #504e41;
$custom-light: #817f75;
$custom-dark: #000000;
JSON
{
  "hex": "#504e41",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 65
  },
  "hsl": {
    "h": 52,
    "s": 10.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42178,
    "c": 0.02095,
    "h": 100
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#504E41
secondary
#6E707F
accent
#7DB375
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #504E41

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

Preview Lab → · Contrast checker → · Palette generator →

#504E41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva