#50501C#50501C

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

Color values

HEX#50501C
RGBrgb(80, 80, 28)
HSLhsl(60, 48%, 21%)
HSVhsv(60, 65%, 31%)
CMYKcmyk(0%, 0%, 65%, 68.6%)
CIE-LABlab(32.98, -7.83, 29.85)
CIE-LCHlch(32.98, 30.86, 104.71°)
OKLaboklab(41.95% -0.0238 0.0685)
OKLCHoklch(41.95% 0.072 109.2)
XYZxyz(6.3867, 7.5268, 2.2148)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50501C #1C1C50
analogous
#50361C #50501C #36501C
triadic
#50501C #1C5050 #501C50
tetradic
#50501C #1C5036 #1C1C50 #501C36
square
#50501C #1C5036 #1C1C50 #501C36
split-complementary
#50501C #1C3650 #361C50
monochromatic
#171708 #23230C #50501C #7D7D2C #ABAB3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50501C#FFFFFF#000000##FFFFFF
##50501C1.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)
#574D16
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#564B45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #50501c;
/* rgb */ color: rgb(80, 80, 28);
/* oklch */ color: oklch(42.0% 0.072 109.2);
Tailwind
colors: {
  custom: {
    50: '#83805b',
    500: '#50501c',
    950: '#000000',
  },
}
SCSS
$custom: #50501c;
$custom-light: #83805b;
$custom-dark: #000000;
JSON
{
  "hex": "#50501c",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 60,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.07248,
    "h": 109.2
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#50501C
secondary
#424286
accent
#50D850
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #50501C

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

Preview Lab → · Contrast checker → · Palette generator →

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