#504F19#504F19

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

Color values

HEX#504F19
RGBrgb(80, 79, 25)
HSLhsl(59, 52%, 21%)
HSVhsv(59, 69%, 31%)
CMYKcmyk(0%, 1.2%, 68.8%, 68.6%)
CIE-LABlab(32.63, -7.48, 30.98)
CIE-LCHlch(32.63, 31.87, 103.57°)
OKLaboklab(41.67% -0.0231 0.0704)
OKLCHoklch(41.67% 0.074 108.2)
XYZxyz(6.2799, 7.3678, 2.0108)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504F19 #191A50
analogous
#503319 #504F19 #355019
triadic
#504F19 #19504F #4F1950
tetradic
#504F19 #195033 #191A50 #501935
square
#504F19 #195033 #191A50 #501935
split-complementary
#504F19 #193550 #331950
monochromatic
#171707 #21210A #504F19 #7F7D28 #ADAB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##504F19#FFFFFF#000000##FFFFFF
##504F191.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)
#564C12
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#564A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504f19;
/* rgb */ color: rgb(80, 79, 25);
/* oklch */ color: oklch(41.7% 0.074 108.2);
Tailwind
colors: {
  custom: {
    50: '#838059',
    500: '#504f19',
    950: '#000000',
  },
}
SCSS
$custom: #504f19;
$custom-light: #838059;
$custom-dark: #000000;
JSON
{
  "hex": "#504f19",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 58.909,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.07408,
    "h": 108.2
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#504F19
secondary
#3E4086
accent
#4FDC4C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #504F19

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

Preview Lab → · Contrast checker → · Palette generator →

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