#504E13#504E13

#504E13 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.4% C 0.078 H 107.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#504E13
RGBrgb(80, 78, 19)
HSLhsl(58, 62%, 19%)
HSVhsv(58, 76%, 31%)
CMYKcmyk(0%, 2.5%, 76.3%, 68.6%)
CIE-LABlab(32.26, -7.29, 33.40)
CIE-LCHlch(32.26, 34.18, 102.31°)
OKLaboklab(41.35% -0.0233 0.0744)
OKLCHoklch(41.35% 0.078 107.4)
XYZxyz(6.1504, 7.2015, 1.6820)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E13 #131550
analogous
#503013 #504E13 #345013
triadic
#504E13 #13504E #4E1350
tetradic
#504E13 #135030 #131550 #501334
square
#504E13 #135030 #131550 #501334
split-complementary
#504E13 #133450 #301350
monochromatic
#191806 #1F1E07 #504E13 #817E1F #B3AE2A

Accessibility & contrast

On white

8.61
#504E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#504E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E13
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E13#FFFFFF#000000##FFFFFF
##504E131.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B09
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#564842
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #504e13;
/* rgb */ color: rgb(80, 78, 19);
/* oklch */ color: oklch(41.4% 0.078 107.4);
Tailwind
colors: {
  custom: {
    50: '#837f55',
    500: '#504e13',
    950: '#000000',
  },
}
SCSS
$custom: #504e13;
$custom-light: #837f55;
$custom-dark: #000000;
JSON
{
  "hex": "#504e13",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 58.033,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.07793,
    "h": 107.4
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#504E13
secondary
#363989
accent
#48E543
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #504E13

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

Preview Lab → · Contrast checker → · Palette generator →

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