#504E20#504E20

#504E20 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.066 H 106.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#504E20
RGBrgb(80, 78, 32)
HSLhsl(58, 43%, 22%)
HSVhsv(58, 60%, 31%)
CMYKcmyk(0%, 2.5%, 60%, 68.6%)
CIE-LABlab(32.39, -6.29, 27.07)
CIE-LCHlch(32.39, 27.80, 103.08°)
OKLaboklab(41.5% -0.0189 0.0631)
OKLCHoklch(41.5% 0.066 106.7)
XYZxyz(6.2935, 7.2587, 2.4358)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E20 #202250
analogous
#503620 #504E20 #3A5020
triadic
#504E20 #20504E #4E2050
tetradic
#504E20 #205036 #202250 #50203A
square
#504E20 #205036 #202250 #50203A
split-complementary
#504E20 #203A50 #362050
monochromatic
#161509 #24230F #504E20 #7C7931 #A7A343

Accessibility & contrast

On white

8.57
#504E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#504E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E20
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E20#FFFFFF#000000##FFFFFF
##504E201.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1B
Deuteranopia (green-blind)
#554D22
Tritanopia (blue-blind)
#564944
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #504e20;
/* rgb */ color: rgb(80, 78, 32);
/* oklch */ color: oklch(41.5% 0.066 106.7);
Tailwind
colors: {
  custom: {
    50: '#837f5d',
    500: '#504e20',
    950: '#000000',
  },
}
SCSS
$custom: #504e20;
$custom-light: #837f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#504e20",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 32
  },
  "hsl": {
    "h": 57.5,
    "s": 42.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41497,
    "c": 0.06588,
    "h": 106.7
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#504E20
secondary
#474A84
accent
#5AD355
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #504E20

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

Preview Lab → · Contrast checker → · Palette generator →

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