#504A1A#504A1A

#504A1A is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.4% C 0.067 H 102.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#504A1A
RGBrgb(80, 74, 26)
HSLhsl(53, 51%, 21%)
HSVhsv(53, 68%, 31%)
CMYKcmyk(0%, 7.5%, 67.5%, 68.6%)
CIE-LABlab(31.06, -4.39, 28.79)
CIE-LCHlch(31.06, 29.12, 98.67°)
OKLaboklab(40.42% -0.0143 0.0659)
OKLCHoklch(40.42% 0.067 102.2)
XYZxyz(5.9437, 6.6778, 1.9529)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A1A #1A2050
analogous
#502F1A #504A1A #3B501A
triadic
#504A1A #1A504A #4A1A50
tetradic
#504A1A #1A502F #1A2050 #501A3B
square
#504A1A #1A502F #1A2050 #501A3B
split-complementary
#504A1A #1A3B50 #2F1A50
monochromatic
#171508 #221F0B #504A1A #7E7529 #AC9F38

Accessibility & contrast

On white

8.99
#504A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#504A1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504A1A
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A1A#FFFFFF#000000##FFFFFF
##504A1A1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514815
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#564540
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #504a1a;
/* rgb */ color: rgb(80, 74, 26);
/* oklch */ color: oklch(40.4% 0.067 102.2);
Tailwind
colors: {
  custom: {
    50: '#837c59',
    500: '#504a1a',
    950: '#000000',
  },
}
SCSS
$custom: #504a1a;
$custom-light: #837c59;
$custom-dark: #000000;
JSON
{
  "hex": "#504a1a",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 26
  },
  "hsl": {
    "h": 53.333,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.06742,
    "h": 102.2
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#504A1A
secondary
#404786
accent
#5DDA4D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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