#50540F#50540F

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

Color values

HEX#50540F
RGBrgb(80, 84, 15)
HSLhsl(63, 70%, 19%)
HSVhsv(63, 82%, 33%)
CMYKcmyk(4.8%, 0%, 82.1%, 67.1%)
CIE-LABlab(34.15, -11.02, 36.82)
CIE-LCHlch(34.15, 38.43, 106.66°)
OKLaboklab(42.86% -0.0342 0.0808)
OKLCHoklch(42.86% 0.088 113)
XYZxyz(6.5650, 8.0808, 1.6658)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50540F #130F54
analogous
#54360F #50540F #2E540F
triadic
#50540F #0F5054 #540F50
tetradic
#50540F #0F5436 #130F54 #540F2E
square
#50540F #0F5436 #130F54 #540F2E
split-complementary
#50540F #0F2E54 #360F54
monochromatic
#191A05 #1F2006 #50540F #818818 #B3BC22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50540F#FFFFFF#000000##FFFFFF
##50540F1.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)
#5B5001
Deuteranopia (green-blind)
#5B5115
Tritanopia (blue-blind)
#564E47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #50540f;
/* rgb */ color: rgb(80, 84, 15);
/* oklch */ color: oklch(42.9% 0.088 113.0);
Tailwind
colors: {
  custom: {
    50: '#848454',
    500: '#50540f',
    950: '#000000',
  },
}
SCSS
$custom: #50540f;
$custom-light: #848454;
$custom-dark: #000000;
JSON
{
  "hex": "#50540f",
  "rgb": {
    "r": 80,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 63.478,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42856,
    "c": 0.0877,
    "h": 113
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#50540F
secondary
#36318E
accent
#3BED46
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #50540F

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

Preview Lab → · Contrast checker → · Palette generator →

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