#50501A#50501A

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

Color values

HEX#50501A
RGBrgb(80, 80, 26)
HSLhsl(60, 51%, 21%)
HSVhsv(60, 68%, 31%)
CMYKcmyk(0%, 0%, 67.5%, 68.6%)
CIE-LABlab(32.96, -7.99, 30.83)
CIE-LCHlch(32.96, 31.85, 104.53°)
OKLaboklab(41.93% -0.0245 0.0702)
OKLCHoklch(41.93% 0.074 109.2)
XYZxyz(6.3636, 7.5176, 2.0929)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50501A #1A1A50
analogous
#50351A #50501A #35501A
triadic
#50501A #1A5050 #501A50
tetradic
#50501A #1A5035 #1A1A50 #501A35
square
#50501A #1A5035 #1A1A50 #501A35
split-complementary
#50501A #1A3550 #351A50
monochromatic
#171708 #22220B #50501A #7E7E29 #ACAC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50501A#FFFFFF#000000##FFFFFF
##50501A1.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)
#574D13
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#564B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #50501a;
/* rgb */ color: rgb(80, 80, 26);
/* oklch */ color: oklch(41.9% 0.074 109.2);
Tailwind
colors: {
  custom: {
    50: '#838059',
    500: '#50501a',
    950: '#000000',
  },
}
SCSS
$custom: #50501a;
$custom-light: #838059;
$custom-dark: #000000;
JSON
{
  "hex": "#50501a",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41929,
    "c": 0.07438,
    "h": 109.2
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#50501A
secondary
#404086
accent
#4DDA4D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #50501A

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

Preview Lab → · Contrast checker → · Palette generator →

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