#504D2D#504D2D

#504D2D is a dark, muted yellow. Relative luminance 0.072; OKLCH L 41.5% C 0.049 H 103.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#504D2D
RGBrgb(80, 77, 45)
HSLhsl(55, 28%, 25%)
HSVhsv(55, 44%, 31%)
CMYKcmyk(0%, 3.7%, 43.7%, 68.6%)
CIE-LABlab(32.26, -4.24, 19.42)
CIE-LCHlch(32.26, 19.88, 102.32°)
OKLaboklab(41.46% -0.0115 0.0474)
OKLCHoklch(41.46% 0.049 103.7)
XYZxyz(6.4359, 7.2029, 3.5334)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504D2D #2D3050
analogous
#503C2D #504D2D #42502D
triadic
#504D2D #2D504D #4D2D50
tetradic
#504D2D #2D503C #2D3050 #502D42
square
#504D2D #2D503C #2D3050 #502D42
split-complementary
#504D2D #2D4250 #3C2D50
monochromatic
#14130B #292717 #504D2D #777343 #9E9859

Accessibility & contrast

On white

8.60
#504D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504D2D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504D2D#FFFFFF#000000##FFFFFF
##504D2D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2B
Deuteranopia (green-blind)
#534D2E
Tritanopia (blue-blind)
#554945
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #504d2d;
/* rgb */ color: rgb(80, 77, 45);
/* oklch */ color: oklch(41.5% 0.049 103.7);
Tailwind
colors: {
  custom: {
    50: '#827e66',
    500: '#504d2d',
    950: '#000000',
  },
}
SCSS
$custom: #504d2d;
$custom-light: #827e66;
$custom-dark: #000000;
JSON
{
  "hex": "#504d2d",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 45
  },
  "hsl": {
    "h": 54.857,
    "s": 28,
    "l": 24.51
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.04877,
    "h": 103.7
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#504D2D
secondary
#575B82
accent
#6CC463
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #504D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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