#50531B#50531B

#50531B is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.7% C 0.077 H 112.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#50531B
RGBrgb(80, 83, 27)
HSLhsl(63, 51%, 22%)
HSVhsv(63, 67%, 33%)
CMYKcmyk(3.6%, 0%, 67.5%, 67.5%)
CIE-LABlab(33.92, -9.68, 31.37)
CIE-LCHlch(33.92, 32.83, 107.14°)
OKLaboklab(42.7% -0.0291 0.0715)
OKLCHoklch(42.7% 0.077 112.1)
XYZxyz(6.5995, 7.9713, 2.2277)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50531B #1E1B53
analogous
#533A1B #50531B #34531B
triadic
#50531B #1B5053 #531B50
tetradic
#50531B #1B533A #1E1B53 #531B34
square
#50531B #1B533A #1E1B53 #531B34
split-complementary
#50531B #1B3453 #3A1B53
monochromatic
#161708 #23250C #50531B #7D812A #A9AF39

Accessibility & contrast

On white

8.09
#50531B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#50531B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50531B
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50531B#FFFFFF#000000##FFFFFF
##50531B1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F14
Deuteranopia (green-blind)
#5A501F
Tritanopia (blue-blind)
#564E47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #50531b;
/* rgb */ color: rgb(80, 83, 27);
/* oklch */ color: oklch(42.7% 0.077 112.1);
Tailwind
colors: {
  custom: {
    50: '#83835a',
    500: '#50531b',
    950: '#000000',
  },
}
SCSS
$custom: #50531b;
$custom-light: #83835a;
$custom-dark: #000000;
JSON
{
  "hex": "#50531b",
  "rgb": {
    "r": 80,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 63.214,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42703,
    "c": 0.07724,
    "h": 112.1
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#50531B
secondary
#454189
accent
#4DDA55
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #50531B

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

Preview Lab → · Contrast checker → · Palette generator →

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