#50501B#50501B

#50501B is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.073 H 109.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#50501B
RGBrgb(80, 80, 27)
HSLhsl(60, 50%, 21%)
HSVhsv(60, 66%, 31%)
CMYKcmyk(0%, 0%, 66.3%, 68.6%)
CIE-LABlab(32.97, -7.92, 30.35)
CIE-LCHlch(32.97, 31.36, 104.62°)
OKLaboklab(41.94% -0.0241 0.0694)
OKLCHoklch(41.94% 0.073 109.2)
XYZxyz(6.3749, 7.5221, 2.1528)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50501B #1B1B50
analogous
#50351B #50501B #35501B
triadic
#50501B #1B5050 #501B50
tetradic
#50501B #1B5035 #1B1B50 #501B35
square
#50501B #1B5035 #1B1B50 #501B35
split-complementary
#50501B #1B3550 #351B50
monochromatic
#171708 #22220C #50501B #7E7E2A #ACAC3A

Accessibility & contrast

On white

8.39
#50501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#50501B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50501B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50501B#FFFFFF#000000##FFFFFF
##50501B1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D15
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#564B45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #50501b;
/* rgb */ color: rgb(80, 80, 27);
/* oklch */ color: oklch(41.9% 0.073 109.2);
Tailwind
colors: {
  custom: {
    50: '#83805a',
    500: '#50501b',
    950: '#000000',
  },
}
SCSS
$custom: #50501b;
$custom-light: #83805a;
$custom-dark: #000000;
JSON
{
  "hex": "#50501b",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.07344,
    "h": 109.2
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#50501B
secondary
#414186
accent
#4FD94F
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #50501B

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

Preview Lab → · Contrast checker → · Palette generator →

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