#504B13#504B13

#504B13 is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.6% C 0.075 H 104.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#504B13
RGBrgb(80, 75, 19)
HSLhsl(55, 62%, 19%)
HSVhsv(55, 76%, 31%)
CMYKcmyk(0%, 6.2%, 76.3%, 68.6%)
CIE-LABlab(31.31, -5.49, 32.46)
CIE-LCHlch(31.31, 32.92, 99.60°)
OKLaboklab(40.6% -0.0183 0.0724)
OKLCHoklch(40.6% 0.075 104.2)
XYZxyz(5.9421, 6.7849, 1.6126)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504B13 #131850
analogous
#502D13 #504B13 #375013
triadic
#504B13 #13504B #4B1350
tetradic
#504B13 #13502D #131850 #501337
square
#504B13 #13502D #131850 #501337
split-complementary
#504B13 #133750 #2D1350
monochromatic
#191706 #1F1D07 #504B13 #81791F #B3A82A

Accessibility & contrast

On white

8.91
#504B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#504B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504B13
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504B13#FFFFFF#000000##FFFFFF
##504B131.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480A
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#564540
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504b13;
/* rgb */ color: rgb(80, 75, 19);
/* oklch */ color: oklch(40.6% 0.075 104.2);
Tailwind
colors: {
  custom: {
    50: '#837d55',
    500: '#504b13',
    950: '#000000',
  },
}
SCSS
$custom: #504b13;
$custom-light: #837d55;
$custom-dark: #000000;
JSON
{
  "hex": "#504b13",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 19
  },
  "hsl": {
    "h": 55.082,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40598,
    "c": 0.07463,
    "h": 104.2
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#504B13
secondary
#363D89
accent
#50E543
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504B13

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

Preview Lab → · Contrast checker → · Palette generator →

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