#4D4811#4D4811

#4D4811 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.5% C 0.073 H 104.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4D4811
RGBrgb(77, 72, 17)
HSLhsl(55, 64%, 18%)
HSVhsv(55, 78%, 30%)
CMYKcmyk(0%, 6.5%, 77.9%, 69.8%)
CIE-LABlab(30.04, -5.31, 31.99)
CIE-LCHlch(30.04, 32.43, 99.42°)
OKLaboklab(39.51% -0.0178 0.0711)
OKLCHoklch(39.51% 0.073 104.1)
XYZxyz(5.4793, 6.2532, 1.4486)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4811 #11164D
analogous
#4D2A11 #4D4811 #344D11
triadic
#4D4811 #114D48 #48114D
tetradic
#4D4811 #114D2A #11164D #4D1134
square
#4D4811 #114D2A #11164D #4D1134
split-complementary
#4D4811 #11344D #2A114D
monochromatic
#191706 #1B1906 #4D4811 #7F771C #B1A627

Accessibility & contrast

On white

9.33
#4D4811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4D4811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4811
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4811#FFFFFF#000000##FFFFFF
##4D48111.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4508
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#53433D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d4811;
/* rgb */ color: rgb(77, 72, 17);
/* oklch */ color: oklch(39.5% 0.073 104.1);
Tailwind
colors: {
  custom: {
    50: '#817a53',
    500: '#4d4811',
    950: '#000000',
  },
}
SCSS
$custom: #4d4811;
$custom-light: #817a53;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4811",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 55,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.07329,
    "h": 104.1
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#4D4811
secondary
#333A86
accent
#4FE741
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4D4811

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

Preview Lab → · Contrast checker → · Palette generator →

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