#504111#504111

#504111 is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 38.1% C 0.067 H 91.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#504111
RGBrgb(80, 65, 17)
HSLhsl(46, 65%, 19%)
HSVhsv(46, 79%, 31%)
CMYKcmyk(0%, 18.8%, 78.8%, 68.6%)
CIE-LABlab(28.19, 0.56, 30.26)
CIE-LCHlch(28.19, 30.27, 88.93°)
OKLaboklab(38.12% -0.0013 0.0673)
OKLCHoklch(38.12% 0.067 91.1)
XYZxyz(5.3000, 5.5269, 1.3178)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504111 #112050
analogous
#502211 #504111 #405011
triadic
#504111 #115041 #411150
tetradic
#504111 #115022 #112050 #501140
square
#504111 #115022 #112050 #501140
split-complementary
#504111 #114050 #221150
monochromatic
#191505 #1E1806 #504111 #826A1C #B59326

Accessibility & contrast

On white

9.97
#504111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#504111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504111
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504111#FFFFFF#000000##FFFFFF
##5041111.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400A
Deuteranopia (green-blind)
#4D4414
Tritanopia (blue-blind)
#573B37
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #504111;
/* rgb */ color: rgb(80, 65, 17);
/* oklch */ color: oklch(38.1% 0.067 91.1);
Tailwind
colors: {
  custom: {
    50: '#847552',
    500: '#504111',
    950: '#000000',
  },
}
SCSS
$custom: #504111;
$custom-light: #847552;
$custom-dark: #000000;
JSON
{
  "hex": "#504111",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 17
  },
  "hsl": {
    "h": 45.714,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38116,
    "c": 0.06731,
    "h": 91.1
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#504111
secondary
#334889
accent
#68E840
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #504111

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

Preview Lab → · Contrast checker → · Palette generator →

#504111 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva