#4D522E#4D522E

#4D522E is a dark, muted yellow. Relative luminance 0.078; OKLCH L 42.4% C 0.055 H 115.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4D522E
RGBrgb(77, 82, 46)
HSLhsl(68, 28%, 25%)
HSVhsv(68, 44%, 32%)
CMYKcmyk(6.1%, 0%, 43.9%, 67.8%)
CIE-LABlab(33.58, -8.51, 20.44)
CIE-LCHlch(33.58, 22.14, 112.60°)
OKLaboklab(42.45% -0.0235 0.0498)
OKLCHoklch(42.45% 0.055 115.3)
XYZxyz(6.5710, 7.8097, 3.7455)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D522E #332E52
analogous
#52452E #4D522E #3B522E
triadic
#4D522E #2E4D52 #522E4D
tetradic
#4D522E #2E5245 #332E52 #522E3B
square
#4D522E #2E5245 #332E52 #522E3B
split-complementary
#4D522E #2E3B52 #452E52
monochromatic
#12140B #282B18 #4D522E #727944 #97A05A

Accessibility & contrast

On white

8.20
#4D522E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4D522E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D522E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D522E#FFFFFF#000000##FFFFFF
##4D522E1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2B
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#514E49
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d522e;
/* rgb */ color: rgb(77, 82, 46);
/* oklch */ color: oklch(42.4% 0.055 115.3);
Tailwind
colors: {
  custom: {
    50: '#7f8267',
    500: '#4d522e',
    950: '#000000',
  },
}
SCSS
$custom: #4d522e;
$custom-light: #7f8267;
$custom-dark: #000000;
JSON
{
  "hex": "#4d522e",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 46
  },
  "hsl": {
    "h": 68.333,
    "s": 28.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42446,
    "c": 0.05506,
    "h": 115.3
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#4D522E
secondary
#5E5884
accent
#63C471
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4D522E

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

Preview Lab → · Contrast checker → · Palette generator →

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