#504C1A#504C1A

#504C1A is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.9% C 0.070 H 104.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#504C1A
RGBrgb(80, 76, 26)
HSLhsl(56, 51%, 21%)
HSVhsv(56, 68%, 31%)
CMYKcmyk(0%, 5%, 67.5%, 68.6%)
CIE-LABlab(31.69, -5.60, 29.47)
CIE-LCHlch(31.69, 30.00, 100.77°)
OKLaboklab(40.92% -0.0177 0.0673)
OKLCHoklch(40.92% 0.07 104.7)
XYZxyz(6.0794, 6.9492, 1.9982)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C1A #1A1E50
analogous
#50311A #504C1A #39501A
triadic
#504C1A #1A504C #4C1A50
tetradic
#504C1A #1A5031 #1A1E50 #501A39
square
#504C1A #1A5031 #1A1E50 #501A39
split-complementary
#504C1A #1A3950 #311A50
monochromatic
#171608 #22200B #504C1A #7E7829 #ACA438

Accessibility & contrast

On white

8.79
#504C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#504C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C1A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C1A#FFFFFF#000000##FFFFFF
##504C1A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534914
Deuteranopia (green-blind)
#544C1D
Tritanopia (blue-blind)
#564741
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #504c1a;
/* rgb */ color: rgb(80, 76, 26);
/* oklch */ color: oklch(40.9% 0.070 104.7);
Tailwind
colors: {
  custom: {
    50: '#837d59',
    500: '#504c1a',
    950: '#000000',
  },
}
SCSS
$custom: #504c1a;
$custom-light: #837d59;
$custom-dark: #000000;
JSON
{
  "hex": "#504c1a",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 26
  },
  "hsl": {
    "h": 55.556,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4092,
    "c": 0.06964,
    "h": 104.7
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#504C1A
secondary
#404586
accent
#58DA4D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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