#504E1C#504E1C

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

Color values

HEX#504E1C
RGBrgb(80, 78, 28)
HSLhsl(58, 48%, 21%)
HSVhsv(58, 65%, 31%)
CMYKcmyk(0%, 2.5%, 65%, 68.6%)
CIE-LABlab(32.34, -6.64, 29.15)
CIE-LCHlch(32.34, 29.90, 102.84°)
OKLaboklab(41.45% -0.0204 0.067)
OKLCHoklch(41.45% 0.07 106.9)
XYZxyz(6.2425, 7.2383, 2.1667)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E1C #1C1E50
analogous
#50341C #504E1C #38501C
triadic
#504E1C #1C504E #4E1C50
tetradic
#504E1C #1C5034 #1C1E50 #501C38
square
#504E1C #1C5034 #1C1E50 #501C38
split-complementary
#504E1C #1C3850 #341C50
monochromatic
#171608 #23220C #504E1C #7D7A2C #ABA63C

Accessibility & contrast

On white

8.58
#504E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#504E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E1C
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E1C#FFFFFF#000000##FFFFFF
##504E1C1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504e1c;
/* rgb */ color: rgb(80, 78, 28);
/* oklch */ color: oklch(41.4% 0.070 106.9);
Tailwind
colors: {
  custom: {
    50: '#837f5a',
    500: '#504e1c',
    950: '#000000',
  },
}
SCSS
$custom: #504e1c;
$custom-light: #837f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#504e1c",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 57.692,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41446,
    "c": 0.07003,
    "h": 106.9
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#504E1C
secondary
#424586
accent
#55D850
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #504E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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