#4D4017#4D4017

#4D4017 is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.6% C 0.061 H 91.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4D4017
RGBrgb(77, 64, 23)
HSLhsl(46, 54%, 20%)
HSVhsv(46, 70%, 30%)
CMYKcmyk(0%, 16.9%, 70.1%, 69.8%)
CIE-LABlab(27.59, 0.06, 26.49)
CIE-LCHlch(27.59, 26.49, 89.86°)
OKLaboklab(37.59% -0.0017 0.0606)
OKLCHoklch(37.59% 0.061 91.6)
XYZxyz(5.0489, 5.3067, 1.5688)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4017 #17244D
analogous
#4D2517 #4D4017 #3F4D17
triadic
#4D4017 #174D40 #40174D
tetradic
#4D4017 #174D25 #17244D #4D173F
square
#4D4017 #174D25 #17244D #4D173F
split-complementary
#4D4017 #173F4D #25174D
monochromatic
#181407 #1E1909 #4D4017 #7C6725 #AB8E33

Accessibility & contrast

On white

10.19
#4D4017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D4017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4017
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4017#FFFFFF#000000##FFFFFF
##4D40171.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F12
Deuteranopia (green-blind)
#4B4319
Tritanopia (blue-blind)
#543B37
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d4017;
/* rgb */ color: rgb(77, 64, 23);
/* oklch */ color: oklch(37.6% 0.061 91.6);
Tailwind
colors: {
  custom: {
    50: '#817456',
    500: '#4d4017',
    950: '#000000',
  },
}
SCSS
$custom: #4d4017;
$custom-light: #817456;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4017",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 45.556,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37585,
    "c": 0.06062,
    "h": 91.6
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#4D4017
secondary
#3C4D84
accent
#6EDD4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4D4017

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

Preview Lab → · Contrast checker → · Palette generator →

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