#50420D#50420D

#50420D is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 38.3% C 0.071 H 93.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#50420D
RGBrgb(80, 66, 13)
HSLhsl(47, 72%, 18%)
HSVhsv(47, 84%, 31%)
CMYKcmyk(0%, 17.5%, 83.7%, 68.6%)
CIE-LABlab(28.46, -0.27, 32.31)
CIE-LCHlch(28.46, 32.32, 90.49°)
OKLaboklab(38.32% -0.0042 0.0707)
OKLCHoklch(38.32% 0.071 93.4)
XYZxyz(5.3294, 5.6313, 1.1869)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50420D #0D1B50
analogous
#50200D #50420D #3C500D
triadic
#50420D #0D5042 #420D50
tetradic
#50420D #0D5020 #0D1B50 #500D3C
square
#50420D #0D5020 #0D1B50 #500D3C
split-complementary
#50420D #0D3C50 #200D50
monochromatic
#1A1604 #1B1704 #50420D #856D16 #B9991E

Accessibility & contrast

On white

9.88
#50420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#50420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50420D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50420D#FFFFFF#000000##FFFFFF
##50420D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4104
Deuteranopia (green-blind)
#4E4510
Tritanopia (blue-blind)
#573C38
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #50420d;
/* rgb */ color: rgb(80, 66, 13);
/* oklch */ color: oklch(38.3% 0.071 93.4);
Tailwind
colors: {
  custom: {
    50: '#847650',
    500: '#50420d',
    950: '#000000',
  },
}
SCSS
$custom: #50420d;
$custom-light: #847650;
$custom-dark: #000000;
JSON
{
  "hex": "#50420d",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 47.463,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.07086,
    "h": 93.4
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#50420D
secondary
#2E418B
accent
#5FEF39
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #50420D

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

Preview Lab → · Contrast checker → · Palette generator →

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