#504A2E#504A2E

#504A2E is a dark, muted yellow. Relative luminance 0.068; OKLCH L 40.7% C 0.044 H 97.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#504A2E
RGBrgb(80, 74, 46)
HSLhsl(49, 27%, 25%)
HSVhsv(49, 43%, 31%)
CMYKcmyk(0%, 7.5%, 42.5%, 68.6%)
CIE-LABlab(31.35, -2.27, 17.64)
CIE-LCHlch(31.35, 17.78, 97.34°)
OKLaboklab(40.74% -0.0057 0.0434)
OKLCHoklch(40.74% 0.044 97.6)
XYZxyz(6.2503, 6.8005, 3.5676)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A2E #2E3450
analogous
#50392E #504A2E #45502E
triadic
#504A2E #2E504A #4A2E50
tetradic
#504A2E #2E5039 #2E3450 #502E45
square
#504A2E #2E5039 #2E3450 #502E45
split-complementary
#504A2E #2E4550 #392E50
monochromatic
#13120B #292618 #504A2E #776E44 #9E925B

Accessibility & contrast

On white

8.90
#504A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504A2E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A2E#FFFFFF#000000##FFFFFF
##504A2E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492C
Deuteranopia (green-blind)
#514B2F
Tritanopia (blue-blind)
#554643
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504a2e;
/* rgb */ color: rgb(80, 74, 46);
/* oklch */ color: oklch(40.7% 0.044 97.6);
Tailwind
colors: {
  custom: {
    50: '#827c67',
    500: '#504a2e',
    950: '#000000',
  },
}
SCSS
$custom: #504a2e;
$custom-light: #827c67;
$custom-dark: #000000;
JSON
{
  "hex": "#504a2e",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 46
  },
  "hsl": {
    "h": 49.412,
    "s": 26.984,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.04373,
    "h": 97.6
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#504A2E
secondary
#586081
accent
#75C364
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0A0906
muted
#7C7B7A

Preview Lab

Preview with #504A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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