#504512#504512

#504512 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.1% C 0.070 H 96.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#504512
RGBrgb(80, 69, 18)
HSLhsl(49, 63%, 19%)
HSVhsv(49, 78%, 31%)
CMYKcmyk(0%, 13.8%, 77.5%, 68.6%)
CIE-LABlab(29.43, -1.88, 31.03)
CIE-LCHlch(29.43, 31.09, 93.46°)
OKLaboklab(39.1% -0.0081 0.0691)
OKLCHoklch(39.1% 0.07 96.7)
XYZxyz(5.5458, 6.0057, 1.4392)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504512 #121D50
analogous
#502612 #504512 #3C5012
triadic
#504512 #125045 #451250
tetradic
#504512 #125026 #121D50 #50123C
square
#504512 #125026 #121D50 #50123C
split-complementary
#504512 #123C50 #261250
monochromatic
#191606 #1E1A07 #504512 #82701D #B49B28

Accessibility & contrast

On white

9.54
#504512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#504512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504512
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504512#FFFFFF#000000##FFFFFF
##5045121.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430B
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#573F3B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #504512;
/* rgb */ color: rgb(80, 69, 18);
/* oklch */ color: oklch(39.1% 0.070 96.7);
Tailwind
colors: {
  custom: {
    50: '#847853',
    500: '#504512',
    950: '#000000',
  },
}
SCSS
$custom: #504512;
$custom-light: #847853;
$custom-dark: #000000;
JSON
{
  "hex": "#504512",
  "rgb": {
    "r": 80,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 49.355,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.06962,
    "h": 96.7
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#504512
secondary
#354489
accent
#5FE641
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #504512

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

Preview Lab → · Contrast checker → · Palette generator →

#504512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva