#4D4717#4D4717

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

Color values

HEX#4D4717
RGBrgb(77, 71, 23)
HSLhsl(53, 54%, 20%)
HSVhsv(53, 70%, 30%)
CMYKcmyk(0%, 7.8%, 70.1%, 69.8%)
CIE-LABlab(29.78, -4.29, 28.86)
CIE-LCHlch(29.78, 29.17, 98.46°)
OKLaboklab(39.32% -0.0142 0.0656)
OKLCHoklch(39.32% 0.067 102.2)
XYZxyz(5.4687, 6.1463, 1.7087)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4717 #171D4D
analogous
#4D2C17 #4D4717 #384D17
triadic
#4D4717 #174D47 #47174D
tetradic
#4D4717 #174D2C #171D4D #4D1738
square
#4D4717 #174D2C #171D4D #4D1738
split-complementary
#4D4717 #17384D #2C174D
monochromatic
#181607 #1E1C09 #4D4717 #7C7225 #AB9E33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4717#FFFFFF#000000##FFFFFF
##4D47171.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)
#4E4511
Deuteranopia (green-blind)
#50471A
Tritanopia (blue-blind)
#53423D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d4717;
/* rgb */ color: rgb(77, 71, 23);
/* oklch */ color: oklch(39.3% 0.067 102.2);
Tailwind
colors: {
  custom: {
    50: '#817a57',
    500: '#4d4717',
    950: '#000000',
  },
}
SCSS
$custom: #4d4717;
$custom-light: #817a57;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4717",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 23
  },
  "hsl": {
    "h": 53.333,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39317,
    "c": 0.06713,
    "h": 102.2
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#4D4717
secondary
#3C4484
accent
#5BDD4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4D4717

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

Preview Lab → · Contrast checker → · Palette generator →

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