#50540C#50540C

#50540C 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#50540C
RGBrgb(80, 84, 12)
HSLhsl(63, 75%, 19%)
HSVhsv(63, 86%, 33%)
CMYKcmyk(4.8%, 0%, 85.7%, 67.1%)
CIE-LABlab(34.13, -11.15, 37.85)
CIE-LCHlch(34.13, 39.46, 106.42°)
OKLaboklab(42.84% -0.0348 0.0823)
OKLCHoklch(42.84% 0.089 112.9)
XYZxyz(6.5452, 8.0728, 1.5612)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50540C #100C54
analogous
#54340C #50540C #2C540C
triadic
#50540C #0C5054 #540C50
tetradic
#50540C #0C5434 #100C54 #540C2C
square
#50540C #0C5434 #100C54 #540C2C
split-complementary
#50540C #0C2C54 #340C54
monochromatic
#1A1B04 #1D1E04 #50540C #838A14 #B6BF1B

Accessibility & contrast

On white

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

On black

2.61
#50540C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##50540C#FFFFFF#000000##FFFFFF
##50540C1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50540c;
/* rgb */ color: rgb(80, 84, 12);
/* oklch */ color: oklch(42.8% 0.089 112.9);
Tailwind
colors: {
  custom: {
    50: '#848353',
    500: '#50540c',
    950: '#000000',
  },
}
SCSS
$custom: #50540c;
$custom-light: #848353;
$custom-dark: #000000;
JSON
{
  "hex": "#50540c",
  "rgb": {
    "r": 80,
    "g": 84,
    "b": 12
  },
  "hsl": {
    "h": 63.333,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.08941,
    "h": 112.9
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#50540C
secondary
#322D8F
accent
#36F241
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #50540C

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

Preview Lab → · Contrast checker → · Palette generator →

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