#504F20#504F20

#504F20 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.067 H 107.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#504F20
RGBrgb(80, 79, 32)
HSLhsl(59, 43%, 22%)
HSVhsv(59, 60%, 31%)
CMYKcmyk(0%, 1.2%, 60%, 68.6%)
CIE-LABlab(32.70, -6.89, 27.44)
CIE-LCHlch(32.70, 28.29, 104.10°)
OKLaboklab(41.75% -0.0206 0.0639)
OKLCHoklch(41.75% 0.067 107.9)
XYZxyz(6.3651, 7.4019, 2.4596)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504F20 #202150
analogous
#503720 #504F20 #395020
triadic
#504F20 #20504F #4F2050
tetradic
#504F20 #205037 #202150 #502039
square
#504F20 #205037 #202150 #502039
split-complementary
#504F20 #203950 #372050
monochromatic
#161609 #24240F #504F20 #7C7A31 #A7A543

Accessibility & contrast

On white

8.47
#504F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#504F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504F20
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504F20#FFFFFF#000000##FFFFFF
##504F201.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1B
Deuteranopia (green-blind)
#564E23
Tritanopia (blue-blind)
#564A45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504f20;
/* rgb */ color: rgb(80, 79, 32);
/* oklch */ color: oklch(41.7% 0.067 107.9);
Tailwind
colors: {
  custom: {
    50: '#83805d',
    500: '#504f20',
    950: '#000000',
  },
}
SCSS
$custom: #504f20;
$custom-light: #83805d;
$custom-dark: #000000;
JSON
{
  "hex": "#504f20",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 32
  },
  "hsl": {
    "h": 58.75,
    "s": 42.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41748,
    "c": 0.06713,
    "h": 107.9
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#504F20
secondary
#474984
accent
#58D355
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #504F20

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

Preview Lab → · Contrast checker → · Palette generator →

#504F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva