#504E19#504E19

#504E19 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.4% C 0.073 H 107.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#504E19
RGBrgb(80, 78, 25)
HSLhsl(58, 52%, 21%)
HSVhsv(58, 69%, 31%)
CMYKcmyk(0%, 2.5%, 68.8%, 68.6%)
CIE-LABlab(32.31, -6.88, 30.64)
CIE-LCHlch(32.31, 31.41, 102.66°)
OKLaboklab(41.41% -0.0215 0.0697)
OKLCHoklch(41.41% 0.073 107.1)
XYZxyz(6.2083, 7.2246, 1.9870)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E19 #191B50
analogous
#503219 #504E19 #365019
triadic
#504E19 #19504E #4E1950
tetradic
#504E19 #195032 #191B50 #501936
square
#504E19 #195032 #191B50 #501936
split-complementary
#504E19 #193650 #321950
monochromatic
#171707 #21210A #504E19 #7F7B28 #ADA936

Accessibility & contrast

On white

8.59
#504E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504E19
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E19#FFFFFF#000000##FFFFFF
##504E191.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B12
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#564943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #504e19;
/* rgb */ color: rgb(80, 78, 25);
/* oklch */ color: oklch(41.4% 0.073 107.1);
Tailwind
colors: {
  custom: {
    50: '#837f59',
    500: '#504e19',
    950: '#000000',
  },
}
SCSS
$custom: #504e19;
$custom-light: #837f59;
$custom-dark: #000000;
JSON
{
  "hex": "#504e19",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 57.818,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41412,
    "c": 0.07289,
    "h": 107.1
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#504E19
secondary
#3E4186
accent
#51DC4C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #504E19

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

Preview Lab → · Contrast checker → · Palette generator →

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