#504A19#504A19

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

Color values

HEX#504A19
RGBrgb(80, 74, 25)
HSLhsl(53, 52%, 21%)
HSVhsv(53, 69%, 31%)
CMYKcmyk(0%, 7.5%, 68.8%, 68.6%)
CIE-LABlab(31.05, -4.47, 29.29)
CIE-LCHlch(31.05, 29.63, 98.68°)
OKLaboklab(40.41% -0.0146 0.0668)
OKLCHoklch(40.41% 0.068 102.3)
XYZxyz(5.9327, 6.6735, 1.8951)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A19 #191F50
analogous
#502E19 #504A19 #3A5019
triadic
#504A19 #19504A #4A1950
tetradic
#504A19 #19502E #191F50 #50193A
square
#504A19 #19502E #191F50 #50193A
split-complementary
#504A19 #193A50 #2E1950
monochromatic
#171607 #211F0A #504A19 #7F7528 #ADA036

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##504A19#FFFFFF#000000##FFFFFF
##504A191.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)
#514813
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#564540
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #504a19;
/* rgb */ color: rgb(80, 74, 25);
/* oklch */ color: oklch(40.4% 0.068 102.3);
Tailwind
colors: {
  custom: {
    50: '#837c58',
    500: '#504a19',
    950: '#000000',
  },
}
SCSS
$custom: #504a19;
$custom-light: #837c58;
$custom-dark: #000000;
JSON
{
  "hex": "#504a19",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 25
  },
  "hsl": {
    "h": 53.455,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40408,
    "c": 0.06838,
    "h": 102.3
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#504A19
secondary
#3E4686
accent
#5CDC4C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504A19

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

Preview Lab → · Contrast checker → · Palette generator →

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