#504E11#504E11

#504E11 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.3% C 0.079 H 107.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#504E11
RGBrgb(80, 78, 17)
HSLhsl(58, 65%, 19%)
HSVhsv(58, 79%, 31%)
CMYKcmyk(0%, 2.5%, 78.8%, 68.6%)
CIE-LABlab(32.25, -7.40, 34.24)
CIE-LCHlch(32.25, 35.03, 102.20°)
OKLaboklab(41.34% -0.0239 0.0757)
OKLCHoklch(41.34% 0.079 107.5)
XYZxyz(6.1341, 7.1949, 1.5958)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E11 #111350
analogous
#502F11 #504E11 #335011
triadic
#504E11 #11504E #4E1150
tetradic
#504E11 #11502F #111350 #501133
square
#504E11 #11502F #111350 #501133
split-complementary
#504E11 #113350 #2F1150
monochromatic
#191905 #1E1D06 #504E11 #827F1C #B5B026

Accessibility & contrast

On white

8.61
#504E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#504E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E11
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E11#FFFFFF#000000##FFFFFF
##504E111.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B06
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#564842
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #504e11;
/* rgb */ color: rgb(80, 78, 17);
/* oklch */ color: oklch(41.3% 0.079 107.5);
Tailwind
colors: {
  custom: {
    50: '#847f54',
    500: '#504e11',
    950: '#000000',
  },
}
SCSS
$custom: #504e11;
$custom-light: #847f54;
$custom-dark: #000000;
JSON
{
  "hex": "#504e11",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 58.095,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41338,
    "c": 0.07939,
    "h": 107.5
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#504E11
secondary
#333689
accent
#45E840
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #504E11

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

Preview Lab → · Contrast checker → · Palette generator →

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