#504E2E#504E2E

#504E2E is a dark, muted yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.049 H 105.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#504E2E
RGBrgb(80, 78, 46)
HSLhsl(56, 27%, 25%)
HSVhsv(56, 43%, 31%)
CMYKcmyk(0%, 2.5%, 42.5%, 68.6%)
CIE-LABlab(32.59, -4.72, 19.24)
CIE-LCHlch(32.59, 19.81, 103.78°)
OKLaboklab(41.73% -0.0128 0.047)
OKLCHoklch(41.73% 0.049 105.2)
XYZxyz(6.5259, 7.3517, 3.6595)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E2E #2E3050
analogous
#503D2E #504E2E #41502E
triadic
#504E2E #2E504E #4E2E50
tetradic
#504E2E #2E503D #2E3050 #502E41
square
#504E2E #2E503D #2E3050 #502E41
split-complementary
#504E2E #2E4150 #3D2E50
monochromatic
#13130B #292818 #504E2E #777444 #9E9A5B

Accessibility & contrast

On white

8.50
#504E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#504E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E2E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E2E#FFFFFF#000000##FFFFFF
##504E2E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2C
Deuteranopia (green-blind)
#544D2F
Tritanopia (blue-blind)
#554A46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504e2e;
/* rgb */ color: rgb(80, 78, 46);
/* oklch */ color: oklch(41.7% 0.049 105.2);
Tailwind
colors: {
  custom: {
    50: '#827f67',
    500: '#504e2e',
    950: '#000000',
  },
}
SCSS
$custom: #504e2e;
$custom-light: #827f67;
$custom-dark: #000000;
JSON
{
  "hex": "#504e2e",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 46
  },
  "hsl": {
    "h": 56.471,
    "s": 26.984,
    "l": 24.706
  },
  "oklch": {
    "l": 0.41727,
    "c": 0.04874,
    "h": 105.2
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#504E2E
secondary
#585B81
accent
#6AC364
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #504E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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