#504C11#504C11

#504C11 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.077 H 105.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#504C11
RGBrgb(80, 76, 17)
HSLhsl(56, 65%, 19%)
HSVhsv(56, 79%, 31%)
CMYKcmyk(0%, 5%, 78.8%, 68.6%)
CIE-LABlab(31.61, -6.21, 33.63)
CIE-LCHlch(31.61, 34.20, 100.46°)
OKLaboklab(40.83% -0.0205 0.0744)
OKLCHoklch(40.83% 0.077 105.4)
XYZxyz(5.9941, 6.9151, 1.5492)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C11 #111550
analogous
#502D11 #504C11 #355011
triadic
#504C11 #11504C #4C1150
tetradic
#504C11 #11502D #111550 #501135
square
#504C11 #11502D #111550 #501135
split-complementary
#504C11 #113550 #2D1150
monochromatic
#191805 #1E1C06 #504C11 #827C1C #B5AC26

Accessibility & contrast

On white

8.81
#504C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#504C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C11
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C11#FFFFFF#000000##FFFFFF
##504C111.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534907
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#564640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504c11;
/* rgb */ color: rgb(80, 76, 17);
/* oklch */ color: oklch(40.8% 0.077 105.4);
Tailwind
colors: {
  custom: {
    50: '#847d54',
    500: '#504c11',
    950: '#000000',
  },
}
SCSS
$custom: #504c11;
$custom-light: #847d54;
$custom-dark: #000000;
JSON
{
  "hex": "#504c11",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 17
  },
  "hsl": {
    "h": 56.19,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40833,
    "c": 0.0772,
    "h": 105.4
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#504C11
secondary
#333989
accent
#4BE840
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504C11

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

Preview Lab → · Contrast checker → · Palette generator →

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