#504D13#504D13

#504D13 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.1% C 0.077 H 106.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#504D13
RGBrgb(80, 77, 19)
HSLhsl(57, 62%, 19%)
HSVhsv(57, 76%, 31%)
CMYKcmyk(0%, 3.7%, 76.3%, 68.6%)
CIE-LABlab(31.94, -6.69, 33.09)
CIE-LCHlch(31.94, 33.76, 101.43°)
OKLaboklab(41.1% -0.0217 0.0737)
OKLCHoklch(41.1% 0.077 106.4)
XYZxyz(6.0799, 7.0605, 1.6585)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504D13 #131650
analogous
#502F13 #504D13 #355013
triadic
#504D13 #13504D #4D1350
tetradic
#504D13 #13502F #131650 #501335
square
#504D13 #13502F #131650 #501335
split-complementary
#504D13 #133550 #2F1350
monochromatic
#191806 #1F1D07 #504D13 #817D1F #B3AC2A

Accessibility & contrast

On white

8.71
#504D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#504D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504D13
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504D13#FFFFFF#000000##FFFFFF
##504D131.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0A
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#564742
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #504d13;
/* rgb */ color: rgb(80, 77, 19);
/* oklch */ color: oklch(41.1% 0.077 106.4);
Tailwind
colors: {
  custom: {
    50: '#837e55',
    500: '#504d13',
    950: '#000000',
  },
}
SCSS
$custom: #504d13;
$custom-light: #837e55;
$custom-dark: #000000;
JSON
{
  "hex": "#504d13",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 57.049,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.07681,
    "h": 106.4
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#504D13
secondary
#363A89
accent
#4BE543
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504D13

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

Preview Lab → · Contrast checker → · Palette generator →

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