#504A16#504A16

#504A16 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.4% C 0.071 H 102.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#504A16
RGBrgb(80, 74, 22)
HSLhsl(54, 57%, 20%)
HSVhsv(54, 73%, 31%)
CMYKcmyk(0%, 7.5%, 72.5%, 68.6%)
CIE-LABlab(31.02, -4.69, 30.76)
CIE-LCHlch(31.02, 31.11, 98.66°)
OKLaboklab(40.38% -0.0156 0.0694)
OKLCHoklch(40.38% 0.071 102.7)
XYZxyz(5.9021, 6.6612, 1.7337)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A16 #161C50
analogous
#502D16 #504A16 #395016
triadic
#504A16 #16504A #4A1650
tetradic
#504A16 #16502D #161C50 #501639
square
#504A16 #16502D #161C50 #501639
split-complementary
#504A16 #163950 #2D1650
monochromatic
#181607 #201E09 #504A16 #807623 #B0A330

Accessibility & contrast

On white

9.00
#504A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#504A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504A16
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A16#FFFFFF#000000##FFFFFF
##504A161.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470F
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#56443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #504a16;
/* rgb */ color: rgb(80, 74, 22);
/* oklch */ color: oklch(40.4% 0.071 102.7);
Tailwind
colors: {
  custom: {
    50: '#837c56',
    500: '#504a16',
    950: '#000000',
  },
}
SCSS
$custom: #504a16;
$custom-light: #837c56;
$custom-dark: #000000;
JSON
{
  "hex": "#504a16",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 53.793,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.40376,
    "c": 0.0711,
    "h": 102.7
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#504A16
secondary
#3A4287
accent
#57E048
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504A16

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

Preview Lab → · Contrast checker → · Palette generator →

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