#504C14#504C14

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

Color values

HEX#504C14
RGBrgb(80, 76, 20)
HSLhsl(56, 60%, 20%)
HSVhsv(56, 75%, 31%)
CMYKcmyk(0%, 5%, 75%, 68.6%)
CIE-LABlab(31.64, -6.03, 32.33)
CIE-LCHlch(31.64, 32.88, 100.56°)
OKLaboklab(40.86% -0.0197 0.0723)
OKLCHoklch(40.86% 0.075 105.2)
XYZxyz(6.0192, 6.9251, 1.6813)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C14 #141850
analogous
#502E14 #504C14 #365014
triadic
#504C14 #14504C #4C1450
tetradic
#504C14 #14502E #141850 #501436
square
#504C14 #14502E #141850 #501436
split-complementary
#504C14 #143650 #2E1450
monochromatic
#181706 #1F1D08 #504C14 #817B20 #B2A92C

Accessibility & contrast

On white

8.81
#504C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504C14
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504C14#FFFFFF#000000##FFFFFF
##504C141.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490C
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#564641
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504c14;
/* rgb */ color: rgb(80, 76, 20);
/* oklch */ color: oklch(40.9% 0.075 105.2);
Tailwind
colors: {
  custom: {
    50: '#837d55',
    500: '#504c14',
    950: '#000000',
  },
}
SCSS
$custom: #504c14;
$custom-light: #837d55;
$custom-dark: #000000;
JSON
{
  "hex": "#504c14",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 20
  },
  "hsl": {
    "h": 56,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40858,
    "c": 0.07492,
    "h": 105.2
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#504C14
secondary
#383D88
accent
#4FE345
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504C14

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

Preview Lab → · Contrast checker → · Palette generator →

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