#504F11#504F11

#504F11 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.6% C 0.081 H 108.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#504F11
RGBrgb(80, 79, 17)
HSLhsl(59, 65%, 19%)
HSVhsv(59, 79%, 31%)
CMYKcmyk(0%, 1.2%, 78.8%, 68.6%)
CIE-LABlab(32.56, -7.99, 34.54)
CIE-LCHlch(32.56, 35.46, 103.03°)
OKLaboklab(41.59% -0.0256 0.0764)
OKLCHoklch(41.59% 0.081 108.5)
XYZxyz(6.2057, 7.3381, 1.6197)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504F11 #111250
analogous
#503011 #504F11 #325011
triadic
#504F11 #11504F #4F1150
tetradic
#504F11 #115030 #111250 #501132
square
#504F11 #115030 #111250 #501132
split-complementary
#504F11 #113250 #301150
monochromatic
#191905 #1E1D06 #504F11 #82811C #B5B326

Accessibility & contrast

On white

8.51
#504F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#504F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504F11
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504F11#FFFFFF#000000##FFFFFF
##504F111.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B06
Deuteranopia (green-blind)
#574E16
Tritanopia (blue-blind)
#564943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #504f11;
/* rgb */ color: rgb(80, 79, 17);
/* oklch */ color: oklch(41.6% 0.081 108.5);
Tailwind
colors: {
  custom: {
    50: '#848054',
    500: '#504f11',
    950: '#000000',
  },
}
SCSS
$custom: #504f11;
$custom-light: #848054;
$custom-dark: #000000;
JSON
{
  "hex": "#504f11",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 59.048,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41591,
    "c": 0.08052,
    "h": 108.5
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#504F11
secondary
#333589
accent
#43E840
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #504F11

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

Preview Lab → · Contrast checker → · Palette generator →

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