#504B11#504B11

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

Color values

HEX#504B11
RGBrgb(80, 75, 17)
HSLhsl(55, 65%, 19%)
HSVhsv(55, 79%, 31%)
CMYKcmyk(0%, 6.2%, 78.8%, 68.6%)
CIE-LABlab(31.30, -5.60, 33.32)
CIE-LCHlch(31.30, 33.79, 99.55°)
OKLaboklab(40.58% -0.0188 0.0738)
OKLCHoklch(40.58% 0.076 104.3)
XYZxyz(5.9258, 6.7783, 1.5264)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504B11 #111650
analogous
#502C11 #504B11 #365011
triadic
#504B11 #11504B #4B1150
tetradic
#504B11 #11502C #111650 #501136
square
#504B11 #11502C #111650 #501136
split-complementary
#504B11 #113650 #2C1150
monochromatic
#191805 #1E1C06 #504B11 #827A1C #B5AA26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##504B11#FFFFFF#000000##FFFFFF
##504B111.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)
#524807
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#574540
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504b11;
/* rgb */ color: rgb(80, 75, 17);
/* oklch */ color: oklch(40.6% 0.076 104.3);
Tailwind
colors: {
  custom: {
    50: '#847d54',
    500: '#504b11',
    950: '#000000',
  },
}
SCSS
$custom: #504b11;
$custom-light: #847d54;
$custom-dark: #000000;
JSON
{
  "hex": "#504b11",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 17
  },
  "hsl": {
    "h": 55.238,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40581,
    "c": 0.07614,
    "h": 104.3
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

primary
#504B11
secondary
#333A89
accent
#4DE840
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504B11

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

Preview Lab → · Contrast checker → · Palette generator →

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