#50400D#50400D

#50400D is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.8% C 0.070 H 90.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#50400D
RGBrgb(80, 64, 13)
HSLhsl(46, 72%, 18%)
HSVhsv(46, 84%, 31%)
CMYKcmyk(0%, 20%, 83.7%, 68.6%)
CIE-LABlab(27.85, 0.98, 31.74)
CIE-LCHlch(27.85, 31.75, 88.23°)
OKLaboklab(37.84% -0.0006 0.0695)
OKLCHoklch(37.84% 0.07 90.5)
XYZxyz(5.2146, 5.4017, 1.1487)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50400D #0D1D50
analogous
#501E0D #50400D #3E500D
triadic
#50400D #0D5040 #400D50
tetradic
#50400D #0D501E #0D1D50 #500D3E
square
#50400D #0D501E #0D1D50 #500D3E
split-complementary
#50400D #0D3E50 #1E0D50
monochromatic
#1A1504 #1B1604 #50400D #856A16 #B9941E

Accessibility & contrast

On white

10.10
#50400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#50400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50400D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50400D#FFFFFF#000000##FFFFFF
##50400D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F05
Deuteranopia (green-blind)
#4C4410
Tritanopia (blue-blind)
#573A36
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #50400d;
/* rgb */ color: rgb(80, 64, 13);
/* oklch */ color: oklch(37.8% 0.070 90.5);
Tailwind
colors: {
  custom: {
    50: '#847450',
    500: '#50400d',
    950: '#000000',
  },
}
SCSS
$custom: #50400d;
$custom-light: #847450;
$custom-dark: #000000;
JSON
{
  "hex": "#50400d",
  "rgb": {
    "r": 80,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 45.672,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37841,
    "c": 0.06951,
    "h": 90.5
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

primary
#50400D
secondary
#2E448B
accent
#64EF39
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #50400D

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

Preview Lab → · Contrast checker → · Palette generator →

#50400D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva