#504C38#504C38

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

Color values

HEX#504C38
RGBrgb(80, 76, 56)
HSLhsl(50, 18%, 27%)
HSVhsv(50, 30%, 31%)
CMYKcmyk(0%, 5%, 30%, 68.6%)
CIE-LABlab(32.17, -2.04, 12.52)
CIE-LCHlch(32.17, 12.69, 99.26°)
OKLaboklab(41.45% -0.0045 0.0316)
OKLCHoklch(41.45% 0.032 98.1)
XYZxyz(6.6065, 7.1600, 4.7746)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C38 #383C50
analogous
#504038 #504C38 #485038
triadic
#504C38 #38504C #4C3850
tetradic
#504C38 #385040 #383C50 #503848
square
#504C38 #385040 #383C50 #503848
split-complementary
#504C38 #384850 #403850
monochromatic
#12110D #2C2A1F #504C38 #746E51 #97906B

Accessibility & contrast

On white

8.63
#504C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#504C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C38
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C38#FFFFFF#000000##FFFFFF
##504C381.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B37
Deuteranopia (green-blind)
#514C39
Tritanopia (blue-blind)
#544947
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #504c38;
/* rgb */ color: rgb(80, 76, 56);
/* oklch */ color: oklch(41.5% 0.032 98.1);
Tailwind
colors: {
  custom: {
    50: '#817e6e',
    500: '#504c38',
    950: '#000000',
  },
}
SCSS
$custom: #504c38;
$custom-light: #817e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#504c38",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 56
  },
  "hsl": {
    "h": 50,
    "s": 17.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.41454,
    "c": 0.03194,
    "h": 98.1
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#504C38
secondary
#646980
accent
#7ABA6D
background
#F7F7F6
surface
#EEEEEC
border
#C9C9C7
text
#0A0907
muted
#7C7B7A

Preview Lab

Preview with #504C38

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

Preview Lab → · Contrast checker → · Palette generator →

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