#50501E#50501E

#50501E is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 42.0% C 0.070 H 109.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#50501E
RGBrgb(80, 80, 30)
HSLhsl(60, 45%, 22%)
HSVhsv(60, 63%, 31%)
CMYKcmyk(0%, 0%, 62.5%, 68.6%)
CIE-LABlab(33.00, -7.67, 28.84)
CIE-LCHlch(33.00, 29.84, 104.89°)
OKLaboklab(41.98% -0.023 0.0666)
OKLCHoklch(41.98% 0.07 109.1)
XYZxyz(6.4114, 7.5367, 2.3450)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50501E #1E1E50
analogous
#50371E #50501E #37501E
triadic
#50501E #1E5050 #501E50
tetradic
#50501E #1E5037 #1E1E50 #501E37
square
#50501E #1E5037 #1E1E50 #501E37
split-complementary
#50501E #1E3750 #371E50
monochromatic
#161608 #23230D #50501E #7D7D2F #A9A93F

Accessibility & contrast

On white

8.38
#50501E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#50501E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50501E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50501E#FFFFFF#000000##FFFFFF
##50501E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50501e;
/* rgb */ color: rgb(80, 80, 30);
/* oklch */ color: oklch(42.0% 0.070 109.1);
Tailwind
colors: {
  custom: {
    50: '#83805c',
    500: '#50501e',
    950: '#000000',
  },
}
SCSS
$custom: #50501e;
$custom-light: #83805c;
$custom-dark: #000000;
JSON
{
  "hex": "#50501e",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.07049,
    "h": 109.1
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#50501E
secondary
#454585
accent
#53D553
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #50501E

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

Preview Lab → · Contrast checker → · Palette generator →

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