#504A13#504A13

#504A13 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.3% C 0.074 H 103.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#504A13
RGBrgb(80, 74, 19)
HSLhsl(54, 62%, 19%)
HSVhsv(54, 76%, 31%)
CMYKcmyk(0%, 7.5%, 76.3%, 68.6%)
CIE-LABlab(31.00, -4.88, 32.14)
CIE-LCHlch(31.00, 32.51, 98.64°)
OKLaboklab(40.35% -0.0166 0.0717)
OKLCHoklch(40.35% 0.074 103)
XYZxyz(5.8748, 6.6503, 1.5901)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A13 #131950
analogous
#502C13 #504A13 #385013
triadic
#504A13 #13504A #4A1350
tetradic
#504A13 #13502C #131950 #501338
square
#504A13 #13502C #131950 #501338
split-complementary
#504A13 #133850 #2C1350
monochromatic
#191706 #1F1C07 #504A13 #81781F #B3A52A

Accessibility & contrast

On white

9.01
#504A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504A13
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A13#FFFFFF#000000##FFFFFF
##504A131.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470B
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#57443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #504a13;
/* rgb */ color: rgb(80, 74, 19);
/* oklch */ color: oklch(40.3% 0.074 103.0);
Tailwind
colors: {
  custom: {
    50: '#837c55',
    500: '#504a13',
    950: '#000000',
  },
}
SCSS
$custom: #504a13;
$custom-light: #837c55;
$custom-dark: #000000;
JSON
{
  "hex": "#504a13",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 19
  },
  "hsl": {
    "h": 54.098,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40348,
    "c": 0.07359,
    "h": 103
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#504A13
secondary
#363E89
accent
#53E543
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504A13

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

Preview Lab → · Contrast checker → · Palette generator →

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