#50540D#50540D

#50540D is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.8% C 0.089 H 112.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#50540D
RGBrgb(80, 84, 13)
HSLhsl(63, 73%, 19%)
HSVhsv(63, 85%, 33%)
CMYKcmyk(4.8%, 0%, 84.5%, 67.1%)
CIE-LABlab(34.14, -11.11, 37.52)
CIE-LCHlch(34.14, 39.13, 106.49°)
OKLaboklab(42.84% -0.0346 0.0818)
OKLCHoklch(42.84% 0.089 112.9)
XYZxyz(6.5515, 8.0753, 1.5943)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50540D #110D54
analogous
#54350D #50540D #2D540D
triadic
#50540D #0D5054 #540D50
tetradic
#50540D #0D5435 #110D54 #540D2D
square
#50540D #0D5435 #110D54 #540D2D
split-complementary
#50540D #0D2D54 #350D54
monochromatic
#191A04 #1E1F05 #50540D #828915 #B5BE1D

Accessibility & contrast

On white

8.03
#50540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#50540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50540D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50540D#FFFFFF#000000##FFFFFF
##50540D1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5000
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#564E47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #50540d;
/* rgb */ color: rgb(80, 84, 13);
/* oklch */ color: oklch(42.8% 0.089 112.9);
Tailwind
colors: {
  custom: {
    50: '#848353',
    500: '#50540d',
    950: '#000000',
  },
}
SCSS
$custom: #50540d;
$custom-light: #848353;
$custom-dark: #000000;
JSON
{
  "hex": "#50540d",
  "rgb": {
    "r": 80,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 63.38,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.08887,
    "h": 112.9
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#50540D
secondary
#332E8F
accent
#38F042
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #50540D

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

Preview Lab → · Contrast checker → · Palette generator →

#50540D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva