#504E1E#504E1E

#504E1E is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.5% C 0.068 H 106.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#504E1E
RGBrgb(80, 78, 30)
HSLhsl(58, 45%, 22%)
HSVhsv(58, 63%, 31%)
CMYKcmyk(0%, 2.5%, 62.5%, 68.6%)
CIE-LABlab(32.37, -6.47, 28.13)
CIE-LCHlch(32.37, 28.86, 102.96°)
OKLaboklab(41.47% -0.0197 0.0651)
OKLCHoklch(41.47% 0.068 106.8)
XYZxyz(6.2672, 7.2482, 2.2969)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E1E #1E2050
analogous
#50351E #504E1E #39501E
triadic
#504E1E #1E504E #4E1E50
tetradic
#504E1E #1E5035 #1E2050 #501E39
square
#504E1E #1E5035 #1E2050 #501E39
split-complementary
#504E1E #1E3950 #351E50
monochromatic
#161608 #23230D #504E1E #7D792F #A9A53F

Accessibility & contrast

On white

8.57
#504E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504E1E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E1E#FFFFFF#000000##FFFFFF
##504E1E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B19
Deuteranopia (green-blind)
#564D21
Tritanopia (blue-blind)
#564944
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #504e1e;
/* rgb */ color: rgb(80, 78, 30);
/* oklch */ color: oklch(41.5% 0.068 106.8);
Tailwind
colors: {
  custom: {
    50: '#837f5c',
    500: '#504e1e',
    950: '#000000',
  },
}
SCSS
$custom: #504e1e;
$custom-light: #837f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#504e1e",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 30
  },
  "hsl": {
    "h": 57.6,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4147,
    "c": 0.06799,
    "h": 106.8
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#504E1E
secondary
#454785
accent
#58D553
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #504E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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