#4D4716#4D4716

#4D4716 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.3% C 0.068 H 102.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4D4716
RGBrgb(77, 71, 22)
HSLhsl(53, 56%, 19%)
HSVhsv(53, 71%, 30%)
CMYKcmyk(0%, 7.8%, 71.4%, 69.8%)
CIE-LABlab(29.77, -4.37, 29.35)
CIE-LCHlch(29.77, 29.67, 98.47°)
OKLaboklab(39.31% -0.0145 0.0665)
OKLCHoklch(39.31% 0.068 102.3)
XYZxyz(5.4588, 6.1424, 1.6570)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4716 #161C4D
analogous
#4D2C16 #4D4716 #384D16
triadic
#4D4716 #164D47 #47164D
tetradic
#4D4716 #164D2C #161C4D #4D1638
square
#4D4716 #164D2C #161C4D #4D1638
split-complementary
#4D4716 #16384D #2C164D
monochromatic
#181607 #1D1B08 #4D4716 #7D7324 #AC9F31

Accessibility & contrast

On white

9.42
#4D4716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4D4716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4716
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4716#FFFFFF#000000##FFFFFF
##4D47161.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4510
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#53423D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d4716;
/* rgb */ color: rgb(77, 71, 22);
/* oklch */ color: oklch(39.3% 0.068 102.3);
Tailwind
colors: {
  custom: {
    50: '#817a56',
    500: '#4d4716',
    950: '#000000',
  },
}
SCSS
$custom: #4d4716;
$custom-light: #817a56;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4716",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 22
  },
  "hsl": {
    "h": 53.455,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39306,
    "c": 0.06805,
    "h": 102.3
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#4D4716
secondary
#3A4285
accent
#59DF49
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4D4716

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

Preview Lab → · Contrast checker → · Palette generator →

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