#4D4A20#4D4A20

#4D4A20 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.2% C 0.061 H 105.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4D4A20
RGBrgb(77, 74, 32)
HSLhsl(56, 41%, 21%)
HSVhsv(56, 58%, 30%)
CMYKcmyk(0%, 3.9%, 58.4%, 69.8%)
CIE-LABlab(30.83, -5.34, 25.20)
CIE-LCHlch(30.83, 25.76, 101.97°)
OKLaboklab(40.19% -0.016 0.0591)
OKLCHoklch(40.19% 0.061 105.1)
XYZxyz(5.7702, 6.5798, 2.3323)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4A20 #20234D
analogous
#4D3420 #4D4A20 #3A4D20
triadic
#4D4A20 #204D4A #4A204D
tetradic
#4D4A20 #204D34 #20234D #4D203A
square
#4D4A20 #204D34 #20234D #4D203A
split-complementary
#4D4A20 #203A4D #34204D
monochromatic
#161509 #22200E #4D4A20 #787432 #A39D44

Accessibility & contrast

On white

9.07
#4D4A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4D4A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4A20
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4A20#FFFFFF#000000##FFFFFF
##4D4A201.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471C
Deuteranopia (green-blind)
#514922
Tritanopia (blue-blind)
#524541
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d4a20;
/* rgb */ color: rgb(77, 74, 32);
/* oklch */ color: oklch(40.2% 0.061 105.1);
Tailwind
colors: {
  custom: {
    50: '#807c5d',
    500: '#4d4a20',
    950: '#000000',
  },
}
SCSS
$custom: #4d4a20;
$custom-light: #807c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4a20",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 32
  },
  "hsl": {
    "h": 56,
    "s": 41.284,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40186,
    "c": 0.06124,
    "h": 105.1
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#4D4A20
secondary
#474B81
accent
#5FD157
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4D4A20

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

Preview Lab → · Contrast checker → · Palette generator →

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