#504F1A#504F1A

#504F1A is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.073 H 108.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#504F1A
RGBrgb(80, 79, 26)
HSLhsl(59, 51%, 21%)
HSVhsv(59, 68%, 31%)
CMYKcmyk(0%, 1.2%, 67.5%, 68.6%)
CIE-LABlab(32.64, -7.40, 30.49)
CIE-LCHlch(32.64, 31.38, 103.64°)
OKLaboklab(41.68% -0.0228 0.0695)
OKLCHoklch(41.68% 0.073 108.2)
XYZxyz(6.2909, 7.3722, 2.0687)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504F1A #1A1B50
analogous
#50341A #504F1A #36501A
triadic
#504F1A #1A504F #4F1A50
tetradic
#504F1A #1A5034 #1A1B50 #501A36
square
#504F1A #1A5034 #1A1B50 #501A36
split-complementary
#504F1A #1A3650 #341A50
monochromatic
#171708 #22210B #504F1A #7E7D29 #ACAA38

Accessibility & contrast

On white

8.49
#504F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#504F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504F1A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504F1A#FFFFFF#000000##FFFFFF
##504F1A1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C14
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#564A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504f1a;
/* rgb */ color: rgb(80, 79, 26);
/* oklch */ color: oklch(41.7% 0.073 108.2);
Tailwind
colors: {
  custom: {
    50: '#838059',
    500: '#504f1a',
    950: '#000000',
  },
}
SCSS
$custom: #504f1a;
$custom-light: #838059;
$custom-dark: #000000;
JSON
{
  "hex": "#504f1a",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 26
  },
  "hsl": {
    "h": 58.889,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41675,
    "c": 0.07316,
    "h": 108.2
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#504F1A
secondary
#404186
accent
#50DA4D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #504F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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