#4D5220#4D5220

#4D5220 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.072 H 114.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4D5220
RGBrgb(77, 82, 32)
HSLhsl(66, 44%, 22%)
HSVhsv(66, 61%, 32%)
CMYKcmyk(6.1%, 0%, 61%, 67.8%)
CIE-LABlab(33.39, -10.11, 28.14)
CIE-LCHlch(33.39, 29.90, 109.76°)
OKLaboklab(42.22% -0.0295 0.0655)
OKLCHoklch(42.22% 0.072 114.3)
XYZxyz(6.3387, 7.7168, 2.5218)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5220 #252052
analogous
#523E20 #4D5220 #345220
triadic
#4D5220 #204D52 #52204D
tetradic
#4D5220 #20523E #252052 #522034
square
#4D5220 #20523E #252052 #522034
split-complementary
#4D5220 #203452 #3E2052
monochromatic
#151609 #24260F #4D5220 #767E31 #A0AA42

Accessibility & contrast

On white

8.26
#4D5220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4D5220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5220
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5220#FFFFFF#000000##FFFFFF
##4D52201.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1B
Deuteranopia (green-blind)
#584F23
Tritanopia (blue-blind)
#524D47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d5220;
/* rgb */ color: rgb(77, 82, 32);
/* oklch */ color: oklch(42.2% 0.072 114.3);
Tailwind
colors: {
  custom: {
    50: '#80825d',
    500: '#4d5220',
    950: '#000000',
  },
}
SCSS
$custom: #4d5220;
$custom-light: #80825d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5220",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 32
  },
  "hsl": {
    "h": 66,
    "s": 43.86,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42224,
    "c": 0.0718,
    "h": 114.3
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#4D5220
secondary
#4E4786
accent
#54D461
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D5220

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

Preview Lab → · Contrast checker → · Palette generator →

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