#504A34#504A34

#504A34 is a dark, muted yellow. Relative luminance 0.069; OKLCH L 40.9% C 0.035 H 94.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#504A34
RGBrgb(80, 74, 52)
HSLhsl(47, 21%, 26%)
HSVhsv(47, 35%, 31%)
CMYKcmyk(0%, 7.5%, 35%, 68.6%)
CIE-LABlab(31.47, -1.42, 14.08)
CIE-LCHlch(31.47, 14.15, 95.77°)
OKLaboklab(40.87% -0.0029 0.0352)
OKLCHoklch(40.87% 0.035 94.7)
XYZxyz(6.3770, 6.8511, 4.2346)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A34 #343A50
analogous
#503C34 #504A34 #485034
triadic
#504A34 #34504A #4A3450
tetradic
#504A34 #34503C #343A50 #503448
square
#504A34 #34503C #343A50 #503448
split-complementary
#504A34 #344850 #3C3450
monochromatic
#13110C #2B281C #504A34 #756C4C #9A8F64

Accessibility & contrast

On white

8.86
#504A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#504A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504A34
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A34#FFFFFF#000000##FFFFFF
##504A341.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4933
Deuteranopia (green-blind)
#504B35
Tritanopia (blue-blind)
#544744
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504a34;
/* rgb */ color: rgb(80, 74, 52);
/* oklch */ color: oklch(40.9% 0.035 94.7);
Tailwind
colors: {
  custom: {
    50: '#817c6b',
    500: '#504a34',
    950: '#000000',
  },
}
SCSS
$custom: #504a34;
$custom-light: #817c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#504a34",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 52
  },
  "hsl": {
    "h": 47.143,
    "s": 21.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.40871,
    "c": 0.03537,
    "h": 94.7
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#504A34
secondary
#5F6681
accent
#7CBE6A
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0906
muted
#7C7B7A

Preview Lab

Preview with #504A34

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

Preview Lab → · Contrast checker → · Palette generator →

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