#504C32#504C32

#504C32 is a dark, muted yellow. Relative luminance 0.071; OKLCH L 41.3% C 0.041 H 100.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#504C32
RGBrgb(80, 76, 50)
HSLhsl(52, 23%, 25%)
HSVhsv(52, 38%, 31%)
CMYKcmyk(0%, 5%, 37.5%, 68.6%)
CIE-LABlab(32.04, -2.95, 16.09)
CIE-LCHlch(32.04, 16.35, 100.39°)
OKLaboklab(41.32% -0.0074 0.0399)
OKLCHoklch(41.32% 0.041 100.5)
XYZxyz(6.4685, 7.1048, 4.0476)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C32 #323650
analogous
#503D32 #504C32 #455032
triadic
#504C32 #32504C #4C3250
tetradic
#504C32 #32503D #323650 #503245
square
#504C32 #32503D #323650 #503245
split-complementary
#504C32 #324550 #3D3250
monochromatic
#13120C #2A281A #504C32 #76704A #9B9461

Accessibility & contrast

On white

8.67
#504C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#504C32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C32
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C32#FFFFFF#000000##FFFFFF
##504C321.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A30
Deuteranopia (green-blind)
#524C33
Tritanopia (blue-blind)
#544845
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #504c32;
/* rgb */ color: rgb(80, 76, 50);
/* oklch */ color: oklch(41.3% 0.041 100.5);
Tailwind
colors: {
  custom: {
    50: '#817d6a',
    500: '#504c32',
    950: '#000000',
  },
}
SCSS
$custom: #504c32;
$custom-light: #817d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#504c32",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 50
  },
  "hsl": {
    "h": 52,
    "s": 23.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.0406,
    "h": 100.5
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#504C32
secondary
#5D6281
accent
#74C068
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0906
muted
#7C7B7A

Preview Lab

Preview with #504C32

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

Preview Lab → · Contrast checker → · Palette generator →

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