#504F1B#504F1B

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

Color values

HEX#504F1B
RGBrgb(80, 79, 27)
HSLhsl(59, 50%, 21%)
HSVhsv(59, 66%, 31%)
CMYKcmyk(0%, 1.2%, 66.3%, 68.6%)
CIE-LABlab(32.65, -7.32, 30.00)
CIE-LCHlch(32.65, 30.88, 103.72°)
OKLaboklab(41.69% -0.0225 0.0686)
OKLCHoklch(41.69% 0.072 108.1)
XYZxyz(6.3023, 7.3768, 2.1286)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504F1B #1B1C50
analogous
#50341B #504F1B #36501B
triadic
#504F1B #1B504F #4F1B50
tetradic
#504F1B #1B5034 #1B1C50 #501B36
square
#504F1B #1B5034 #1B1C50 #501B36
split-complementary
#504F1B #1B3650 #341B50
monochromatic
#171708 #22220C #504F1B #7E7C2A #ACA93A

Accessibility & contrast

On white

8.48
#504F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#504F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504F1B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504F1B#FFFFFF#000000##FFFFFF
##504F1B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504f1b;
/* rgb */ color: rgb(80, 79, 27);
/* oklch */ color: oklch(41.7% 0.072 108.1);
Tailwind
colors: {
  custom: {
    50: '#83805a',
    500: '#504f1b',
    950: '#000000',
  },
}
SCSS
$custom: #504f1b;
$custom-light: #83805a;
$custom-dark: #000000;
JSON
{
  "hex": "#504f1b",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 27
  },
  "hsl": {
    "h": 58.868,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41687,
    "c": 0.07221,
    "h": 108.1
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#504F1B
secondary
#414286
accent
#51D94F
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #504F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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