#504F13#504F13

#504F13 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.6% C 0.079 H 108.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#504F13
RGBrgb(80, 79, 19)
HSLhsl(59, 62%, 19%)
HSVhsv(59, 76%, 31%)
CMYKcmyk(0%, 1.2%, 76.3%, 68.6%)
CIE-LABlab(32.58, -7.88, 33.71)
CIE-LCHlch(32.58, 34.62, 103.16°)
OKLaboklab(41.61% -0.025 0.075)
OKLCHoklch(41.61% 0.079 108.4)
XYZxyz(6.2220, 7.3446, 1.7059)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504F13 #131450
analogous
#503113 #504F13 #335013
triadic
#504F13 #13504F #4F1350
tetradic
#504F13 #135031 #131450 #501333
square
#504F13 #135031 #131450 #501333
split-complementary
#504F13 #133350 #311350
monochromatic
#191806 #1F1E07 #504F13 #81801F #B3B12A

Accessibility & contrast

On white

8.51
#504F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#504F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504F13
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504F13#FFFFFF#000000##FFFFFF
##504F131.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B09
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#564943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504f13;
/* rgb */ color: rgb(80, 79, 19);
/* oklch */ color: oklch(41.6% 0.079 108.4);
Tailwind
colors: {
  custom: {
    50: '#838055',
    500: '#504f13',
    950: '#000000',
  },
}
SCSS
$custom: #504f13;
$custom-light: #838055;
$custom-dark: #000000;
JSON
{
  "hex": "#504f13",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 59.016,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41608,
    "c": 0.07907,
    "h": 108.4
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#504F13
secondary
#363889
accent
#46E543
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #504F13

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

Preview Lab → · Contrast checker → · Palette generator →

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