#4D4911#4D4911

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

Color values

HEX#4D4911
RGBrgb(77, 73, 17)
HSLhsl(56, 64%, 18%)
HSVhsv(56, 78%, 30%)
CMYKcmyk(0%, 5.2%, 77.9%, 69.8%)
CIE-LABlab(30.36, -5.91, 32.31)
CIE-LCHlch(30.36, 32.84, 100.37°)
OKLaboklab(39.76% -0.0195 0.0718)
OKLCHoklch(39.76% 0.074 105.2)
XYZxyz(5.5445, 6.3835, 1.4703)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4911 #11154D
analogous
#4D2B11 #4D4911 #334D11
triadic
#4D4911 #114D49 #49114D
tetradic
#4D4911 #114D2B #11154D #4D1133
square
#4D4911 #114D2B #11154D #4D1133
split-complementary
#4D4911 #11334D #2B114D
monochromatic
#191806 #1B1906 #4D4911 #7F791C #B1A827

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4911#FFFFFF#000000##FFFFFF
##4D49111.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)
#504608
Deuteranopia (green-blind)
#514915
Tritanopia (blue-blind)
#53443E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d4911;
/* rgb */ color: rgb(77, 73, 17);
/* oklch */ color: oklch(39.8% 0.074 105.2);
Tailwind
colors: {
  custom: {
    50: '#817b53',
    500: '#4d4911',
    950: '#000000',
  },
}
SCSS
$custom: #4d4911;
$custom-light: #817b53;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4911",
  "rgb": {
    "r": 77,
    "g": 73,
    "b": 17
  },
  "hsl": {
    "h": 56,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.07436,
    "h": 105.2
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#4D4911
secondary
#333986
accent
#4CE741
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4D4911

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

Preview Lab → · Contrast checker → · Palette generator →

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