#50542E#50542E

#50542E is a dark, muted yellow. Relative luminance 0.082; OKLCH L 43.2% C 0.057 H 113.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#50542E
RGBrgb(80, 84, 46)
HSLhsl(66, 29%, 25%)
HSVhsv(66, 45%, 33%)
CMYKcmyk(4.8%, 0%, 45.2%, 67.1%)
CIE-LABlab(34.48, -8.31, 21.64)
CIE-LCHlch(34.48, 23.18, 111.00°)
OKLaboklab(43.23% -0.0231 0.0525)
OKLCHoklch(43.23% 0.057 113.7)
XYZxyz(6.9718, 8.2435, 3.8081)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50542E #322E54
analogous
#54452E #50542E #3D542E
triadic
#50542E #2E5054 #542E50
tetradic
#50542E #2E5445 #322E54 #542E3D
square
#50542E #2E5445 #322E54 #542E3D
split-complementary
#50542E #2E3D54 #452E54
monochromatic
#13140B #2A2C18 #50542E #767C44 #9BA359

Accessibility & contrast

On white

7.93
#50542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#50542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50542E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50542E#FFFFFF#000000##FFFFFF
##50542E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512B
Deuteranopia (green-blind)
#595230
Tritanopia (blue-blind)
#54504B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #50542e;
/* rgb */ color: rgb(80, 84, 46);
/* oklch */ color: oklch(43.2% 0.057 113.7);
Tailwind
colors: {
  custom: {
    50: '#828467',
    500: '#50542e',
    950: '#000000',
  },
}
SCSS
$custom: #50542e;
$custom-light: #828467;
$custom-dark: #000000;
JSON
{
  "hex": "#50542e",
  "rgb": {
    "r": 80,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 66.316,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43231,
    "c": 0.05731,
    "h": 113.7
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#50542E
secondary
#5D5886
accent
#62C56D
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #50542E

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

Preview Lab → · Contrast checker → · Palette generator →

#50542E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva