#504C40#504C40

#504C40 is a dark, near-neutral yellow. Relative luminance 0.072; OKLCH L 41.7% C 0.020 H 91.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#504C40
RGBrgb(80, 76, 64)
HSLhsl(45, 11%, 28%)
HSVhsv(45, 20%, 31%)
CMYKcmyk(0%, 5%, 20%, 68.6%)
CIE-LABlab(32.36, -0.69, 7.74)
CIE-LCHlch(32.36, 7.77, 95.06°)
OKLaboklab(41.67% -0.0006 0.02)
OKLCHoklch(41.67% 0.02 91.8)
XYZxyz(6.8181, 7.2446, 5.8887)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C40 #404450
analogous
#504440 #504C40 #4C5040
triadic
#504C40 #40504C #4C4050
tetradic
#504C40 #405044 #404450 #50404C
square
#504C40 #405044 #404450 #50404C
split-complementary
#504C40 #404C50 #444050
monochromatic
#11100E #2E2C25 #504C40 #726C5B #938C78

Accessibility & contrast

On white

8.57
#504C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#504C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C40
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C40#FFFFFF#000000##FFFFFF
##504C401.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4B3F
Deuteranopia (green-blind)
#504D40
Tritanopia (blue-blind)
#534A49
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #504c40;
/* rgb */ color: rgb(80, 76, 64);
/* oklch */ color: oklch(41.7% 0.020 91.8);
Tailwind
colors: {
  custom: {
    50: '#817e74',
    500: '#504c40',
    950: '#000000',
  },
}
SCSS
$custom: #504c40;
$custom-light: #817e74;
$custom-dark: #000000;
JSON
{
  "hex": "#504c40",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 64
  },
  "hsl": {
    "h": 45,
    "s": 11.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.01997,
    "h": 91.8
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#504C40
secondary
#6D717F
accent
#84B474
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0908
muted
#7C7B7B

Preview Lab

Preview with #504C40

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

Preview Lab → · Contrast checker → · Palette generator →

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