#504C15#504C15

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

Color values

HEX#504C15
RGBrgb(80, 76, 21)
HSLhsl(56, 58%, 20%)
HSVhsv(56, 74%, 31%)
CMYKcmyk(0%, 5%, 73.7%, 68.6%)
CIE-LABlab(31.64, -5.96, 31.87)
CIE-LCHlch(31.64, 32.43, 100.60°)
OKLaboklab(40.87% -0.0194 0.0715)
OKLCHoklch(40.87% 0.074 105.2)
XYZxyz(6.0283, 6.9287, 1.7292)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504C15 #151950
analogous
#502E15 #504C15 #375015
triadic
#504C15 #15504C #4C1550
tetradic
#504C15 #15502E #151950 #501537
square
#504C15 #15502E #151950 #501537
split-complementary
#504C15 #153750 #2E1550
monochromatic
#181706 #201E08 #504C15 #807A22 #B1A82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##504C15#FFFFFF#000000##FFFFFF
##504C151.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)
#53490D
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#564641
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #504c15;
/* rgb */ color: rgb(80, 76, 21);
/* oklch */ color: oklch(40.9% 0.074 105.2);
Tailwind
colors: {
  custom: {
    50: '#837d56',
    500: '#504c15',
    950: '#000000',
  },
}
SCSS
$custom: #504c15;
$custom-light: #837d56;
$custom-dark: #000000;
JSON
{
  "hex": "#504c15",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 21
  },
  "hsl": {
    "h": 55.932,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.07411,
    "h": 105.2
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#504C15
secondary
#393E88
accent
#51E246
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504C15

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

Preview Lab → · Contrast checker → · Palette generator →

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