#504C13#504C13

#504C13 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.076 H 105.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#504C13
RGBrgb(80, 76, 19)
HSLhsl(56, 62%, 19%)
HSVhsv(56, 76%, 31%)
CMYKcmyk(0%, 5%, 76.3%, 68.6%)
CIE-LABlab(31.63, -6.09, 32.77)
CIE-LCHlch(31.63, 33.33, 100.53°)
OKLaboklab(40.85% -0.02 0.073)
OKLCHoklch(40.85% 0.076 105.3)
XYZxyz(6.0105, 6.9216, 1.6354)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C13 #131750
analogous
#502E13 #504C13 #365013
triadic
#504C13 #13504C #4C1350
tetradic
#504C13 #13502E #131750 #501336
square
#504C13 #13502E #131750 #501336
split-complementary
#504C13 #133650 #2E1350
monochromatic
#191706 #1F1D07 #504C13 #817B1F #B3AA2A

Accessibility & contrast

On white

8.81
#504C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#504C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C13
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C13#FFFFFF#000000##FFFFFF
##504C131.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490A
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#564641
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504c13;
/* rgb */ color: rgb(80, 76, 19);
/* oklch */ color: oklch(40.8% 0.076 105.3);
Tailwind
colors: {
  custom: {
    50: '#837d55',
    500: '#504c13',
    950: '#000000',
  },
}
SCSS
$custom: #504c13;
$custom-light: #837d55;
$custom-dark: #000000;
JSON
{
  "hex": "#504c13",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 56.066,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40849,
    "c": 0.0757,
    "h": 105.3
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#504C13
secondary
#363C89
accent
#4EE543
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504C13

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

Preview Lab → · Contrast checker → · Palette generator →

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