#50520F#50520F

#50520F is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.3% C 0.085 H 111.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#50520F
RGBrgb(80, 82, 15)
HSLhsl(62, 69%, 19%)
HSVhsv(62, 82%, 32%)
CMYKcmyk(2.4%, 0%, 81.7%, 67.8%)
CIE-LABlab(33.51, -9.86, 36.22)
CIE-LCHlch(33.51, 37.54, 105.23°)
OKLaboklab(42.34% -0.031 0.0795)
OKLCHoklch(42.34% 0.085 111.3)
XYZxyz(6.4120, 7.7747, 1.6147)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50520F #110F52
analogous
#52330F #50520F #2F520F
triadic
#50520F #0F5052 #520F50
tetradic
#50520F #0F5233 #110F52 #520F2F
square
#50520F #0F5233 #110F52 #520F2F
split-complementary
#50520F #0F2F52 #330F52
monochromatic
#191A05 #1E1E06 #50520F #828618 #B5B922

Accessibility & contrast

On white

8.22
#50520F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#50520F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50520F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50520F#FFFFFF#000000##FFFFFF
##50520F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E02
Deuteranopia (green-blind)
#595015
Tritanopia (blue-blind)
#564C45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #50520f;
/* rgb */ color: rgb(80, 82, 15);
/* oklch */ color: oklch(42.3% 0.085 111.3);
Tailwind
colors: {
  custom: {
    50: '#848254',
    500: '#50520f',
    950: '#000000',
  },
}
SCSS
$custom: #50520f;
$custom-light: #848254;
$custom-dark: #000000;
JSON
{
  "hex": "#50520f",
  "rgb": {
    "r": 80,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 61.791,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.08532,
    "h": 111.3
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#50520F
secondary
#33318C
accent
#3CEC41
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #50520F

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

Preview Lab → · Contrast checker → · Palette generator →

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