#50431B#50431B

#50431B is a dark, muted yellow. Relative luminance 0.058; OKLCH L 38.7% C 0.060 H 91.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#50431B
RGBrgb(80, 67, 27)
HSLhsl(45, 50%, 21%)
HSVhsv(45, 66%, 31%)
CMYKcmyk(0%, 16.3%, 66.3%, 68.6%)
CIE-LABlab(28.90, 0.02, 25.85)
CIE-LCHlch(28.90, 25.85, 89.96°)
OKLaboklab(38.71% -0.0014 0.0598)
OKLCHoklch(38.71% 0.06 91.4)
XYZxyz(5.5135, 5.7992, 1.8656)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50431B #1B2850
analogous
#50281B #50431B #42501B
triadic
#50431B #1B5043 #431B50
tetradic
#50431B #1B5028 #1B2850 #501B42
square
#50431B #1B5028 #1B2850 #501B42
split-complementary
#50431B #1B4250 #281B50
monochromatic
#171308 #221D0C #50431B #7E692A #AC903A

Accessibility & contrast

On white

9.72
#50431B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#50431B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50431B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50431B#FFFFFF#000000##FFFFFF
##50431B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4217
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#573E3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #50431b;
/* rgb */ color: rgb(80, 67, 27);
/* oklch */ color: oklch(38.7% 0.060 91.4);
Tailwind
colors: {
  custom: {
    50: '#837659',
    500: '#50431b',
    950: '#000000',
  },
}
SCSS
$custom: #50431b;
$custom-light: #837659;
$custom-dark: #000000;
JSON
{
  "hex": "#50431b",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 27
  },
  "hsl": {
    "h": 45.283,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38712,
    "c": 0.05981,
    "h": 91.4
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#50431B
secondary
#415286
accent
#71D94F
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #50431B

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

Preview Lab → · Contrast checker → · Palette generator →

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