#504A11#504A11

#504A11 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.3% C 0.075 H 103.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#504A11
RGBrgb(80, 74, 17)
HSLhsl(54, 65%, 19%)
HSVhsv(54, 79%, 31%)
CMYKcmyk(0%, 7.5%, 78.8%, 68.6%)
CIE-LABlab(30.98, -5.00, 33.02)
CIE-LCHlch(30.98, 33.39, 98.61°)
OKLaboklab(40.33% -0.0171 0.0731)
OKLCHoklch(40.33% 0.075 103.2)
XYZxyz(5.8585, 6.6437, 1.5040)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504A11 #111750
analogous
#502B11 #504A11 #375011
triadic
#504A11 #11504A #4A1150
tetradic
#504A11 #11502B #111750 #501137
square
#504A11 #11502B #111750 #501137
split-complementary
#504A11 #113750 #2B1150
monochromatic
#191705 #1E1B06 #504A11 #82791C #B5A726

Accessibility & contrast

On white

9.02
#504A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#504A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504A11
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504A11#FFFFFF#000000##FFFFFF
##504A111.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514708
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#57443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #504a11;
/* rgb */ color: rgb(80, 74, 17);
/* oklch */ color: oklch(40.3% 0.075 103.2);
Tailwind
colors: {
  custom: {
    50: '#847c53',
    500: '#504a11',
    950: '#000000',
  },
}
SCSS
$custom: #504a11;
$custom-light: #847c53;
$custom-dark: #000000;
JSON
{
  "hex": "#504a11",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 17
  },
  "hsl": {
    "h": 54.286,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.0751,
    "h": 103.2
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#504A11
secondary
#333C89
accent
#50E840
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #504A11

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

Preview Lab → · Contrast checker → · Palette generator →

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