#50541B#50541B

#50541B is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.0% C 0.079 H 113.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#50541B
RGBrgb(80, 84, 27)
HSLhsl(64, 51%, 22%)
HSVhsv(64, 68%, 33%)
CMYKcmyk(4.8%, 0%, 67.9%, 67.1%)
CIE-LABlab(34.24, -10.26, 31.72)
CIE-LCHlch(34.24, 33.33, 107.92°)
OKLaboklab(42.96% -0.0307 0.0723)
OKLCHoklch(42.96% 0.079 113.1)
XYZxyz(6.6766, 8.1254, 2.2533)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50541B #1F1B54
analogous
#543C1B #50541B #34541B
triadic
#50541B #1B5054 #541B50
tetradic
#50541B #1B543C #1F1B54 #541B34
square
#50541B #1B543C #1F1B54 #541B34
split-complementary
#50541B #1B3454 #3C1B54
monochromatic
#161707 #24260C #50541B #7C822A #A8B139

Accessibility & contrast

On white

8.00
#50541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#50541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50541B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50541B#FFFFFF#000000##FFFFFF
##50541B1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5014
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#564F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #50541b;
/* rgb */ color: rgb(80, 84, 27);
/* oklch */ color: oklch(43.0% 0.079 113.1);
Tailwind
colors: {
  custom: {
    50: '#83845a',
    500: '#50541b',
    950: '#000000',
  },
}
SCSS
$custom: #50541b;
$custom-light: #83845a;
$custom-dark: #000000;
JSON
{
  "hex": "#50541b",
  "rgb": {
    "r": 80,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 64.211,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42959,
    "c": 0.07853,
    "h": 113.1
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#50541B
secondary
#46418A
accent
#4DDB57
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #50541B

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

Preview Lab → · Contrast checker → · Palette generator →

#50541B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva