#4D4517#4D4517

#4D4517 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.8% C 0.065 H 99.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4D4517
RGBrgb(77, 69, 23)
HSLhsl(51, 54%, 20%)
HSVhsv(51, 70%, 30%)
CMYKcmyk(0%, 10.4%, 70.1%, 69.8%)
CIE-LABlab(29.15, -3.06, 28.18)
CIE-LCHlch(29.15, 28.35, 96.20°)
OKLaboklab(38.82% -0.0107 0.0642)
OKLCHoklch(38.82% 0.065 99.4)
XYZxyz(5.3436, 5.8961, 1.6670)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4517 #171F4D
analogous
#4D2A17 #4D4517 #3A4D17
triadic
#4D4517 #174D45 #45174D
tetradic
#4D4517 #174D2A #171F4D #4D173A
square
#4D4517 #174D2A #171F4D #4D173A
split-complementary
#4D4517 #173A4D #2A174D
monochromatic
#181507 #1E1B09 #4D4517 #7C6F25 #AB9933

Accessibility & contrast

On white

9.64
#4D4517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4D4517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4517
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4517#FFFFFF#000000##FFFFFF
##4D45171.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4312
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#53403B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d4517;
/* rgb */ color: rgb(77, 69, 23);
/* oklch */ color: oklch(38.8% 0.065 99.4);
Tailwind
colors: {
  custom: {
    50: '#817856',
    500: '#4d4517',
    950: '#000000',
  },
}
SCSS
$custom: #4d4517;
$custom-light: #817856;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4517",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 23
  },
  "hsl": {
    "h": 51.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38817,
    "c": 0.06507,
    "h": 99.4
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#4D4517
secondary
#3C4684
accent
#60DD4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4D4517

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

Preview Lab → · Contrast checker → · Palette generator →

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