#4D4913#4D4913

#4D4913 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.073 H 105.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#4D4913
RGBrgb(77, 73, 19)
HSLhsl(56, 60%, 19%)
HSVhsv(56, 75%, 30%)
CMYKcmyk(0%, 5.2%, 75.3%, 69.8%)
CIE-LABlab(30.38, -5.79, 31.42)
CIE-LCHlch(30.38, 31.95, 100.44°)
OKLaboklab(39.78% -0.0189 0.0703)
OKLCHoklch(39.78% 0.073 105.1)
XYZxyz(5.5609, 6.3901, 1.5565)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4913 #13174D
analogous
#4D2C13 #4D4913 #344D13
triadic
#4D4913 #134D49 #49134D
tetradic
#4D4913 #134D2C #13174D #4D1334
square
#4D4913 #134D2C #13174D #4D1334
split-complementary
#4D4913 #13344D #2C134D
monochromatic
#191706 #1C1A07 #4D4913 #7E781F #AFA62B

Accessibility & contrast

On white

9.22
#4D4913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4D4913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4913
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4913#FFFFFF#000000##FFFFFF
##4D49131.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460B
Deuteranopia (green-blind)
#514917
Tritanopia (blue-blind)
#53443E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d4913;
/* rgb */ color: rgb(77, 73, 19);
/* oklch */ color: oklch(39.8% 0.073 105.1);
Tailwind
colors: {
  custom: {
    50: '#817b54',
    500: '#4d4913',
    950: '#000000',
  },
}
SCSS
$custom: #4d4913;
$custom-light: #817b54;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4913",
  "rgb": {
    "r": 77,
    "g": 73,
    "b": 19
  },
  "hsl": {
    "h": 55.862,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39781,
    "c": 0.07279,
    "h": 105.1
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#4D4913
secondary
#363C86
accent
#4FE444
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4D4913

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

Preview Lab → · Contrast checker → · Palette generator →

#4D4913 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva