#50420E#50420E

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

Color values

HEX#50420E
RGBrgb(80, 66, 14)
HSLhsl(47, 70%, 18%)
HSVhsv(47, 83%, 31%)
CMYKcmyk(0%, 17.5%, 82.5%, 68.6%)
CIE-LABlab(28.47, -0.23, 31.90)
CIE-LCHlch(28.47, 31.90, 90.40°)
OKLaboklab(38.33% -0.004 0.0701)
OKLCHoklch(38.33% 0.07 93.2)
XYZxyz(5.3360, 5.6339, 1.2218)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50420E #0E1C50
analogous
#50210E #50420E #3D500E
triadic
#50420E #0E5042 #420E50
tetradic
#50420E #0E5021 #0E1C50 #500E3D
square
#50420E #0E5021 #0E1C50 #500E3D
split-complementary
#50420E #0E3D50 #210E50
monochromatic
#1A1505 #1C1705 #50420E #846D17 #B89820

Accessibility & contrast

On white

9.87
#50420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50420E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50420E#FFFFFF#000000##FFFFFF
##50420E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50420e;
/* rgb */ color: rgb(80, 66, 14);
/* oklch */ color: oklch(38.3% 0.070 93.2);
Tailwind
colors: {
  custom: {
    50: '#847651',
    500: '#50420e',
    950: '#000000',
  },
}
SCSS
$custom: #50420e;
$custom-light: #847651;
$custom-dark: #000000;
JSON
{
  "hex": "#50420e",
  "rgb": {
    "r": 80,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 47.273,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38332,
    "c": 0.07019,
    "h": 93.2
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#50420E
secondary
#2F438B
accent
#61ED3B
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #50420E

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

Preview Lab → · Contrast checker → · Palette generator →

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