#504C16#504C16

#504C16 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.9% C 0.073 H 105.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#504C16
RGBrgb(80, 76, 22)
HSLhsl(56, 57%, 20%)
HSVhsv(56, 73%, 31%)
CMYKcmyk(0%, 5%, 72.5%, 68.6%)
CIE-LABlab(31.65, -5.90, 31.41)
CIE-LCHlch(31.65, 31.96, 100.63°)
OKLaboklab(40.88% -0.0191 0.0707)
OKLCHoklch(40.88% 0.073 105.1)
XYZxyz(6.0378, 6.9325, 1.7790)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C16 #161A50
analogous
#502F16 #504C16 #375016
triadic
#504C16 #16504C #4C1650
tetradic
#504C16 #16502F #161A50 #501637
square
#504C16 #16502F #161A50 #501637
split-complementary
#504C16 #163750 #2F1650
monochromatic
#181707 #201E09 #504C16 #807A23 #B0A730

Accessibility & contrast

On white

8.80
#504C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#504C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504C16
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C16#FFFFFF#000000##FFFFFF
##504C161.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490F
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#564741
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504c16;
/* rgb */ color: rgb(80, 76, 22);
/* oklch */ color: oklch(40.9% 0.073 105.1);
Tailwind
colors: {
  custom: {
    50: '#837d57',
    500: '#504c16',
    950: '#000000',
  },
}
SCSS
$custom: #504c16;
$custom-light: #837d57;
$custom-dark: #000000;
JSON
{
  "hex": "#504c16",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 22
  },
  "hsl": {
    "h": 55.862,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.07326,
    "h": 105.1
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#504C16
secondary
#3A4087
accent
#52E048
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504C16

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

Preview Lab → · Contrast checker → · Palette generator →

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