#4D522D#4D522D

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

Color values

HEX#4D522D
RGBrgb(77, 82, 45)
HSLhsl(68, 29%, 25%)
HSVhsv(68, 45%, 32%)
CMYKcmyk(6.1%, 0%, 45.1%, 67.8%)
CIE-LABlab(33.57, -8.64, 21.01)
CIE-LCHlch(33.57, 22.72, 112.35°)
OKLaboklab(42.43% -0.0239 0.051)
OKLCHoklch(42.43% 0.056 115.1)
XYZxyz(6.5516, 7.8019, 3.6429)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D522D #322D52
analogous
#52452D #4D522D #3B522D
triadic
#4D522D #2D4D52 #522D4D
tetradic
#4D522D #2D5245 #322D52 #522D3B
square
#4D522D #2D5245 #322D52 #522D3B
split-complementary
#4D522D #2D3B52 #452D52
monochromatic
#13140B #282A17 #4D522D #727A43 #97A158

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D522D#FFFFFF#000000##FFFFFF
##4D522D1.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)
#574F2A
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#514E49
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d522d;
/* rgb */ color: rgb(77, 82, 45);
/* oklch */ color: oklch(42.4% 0.056 115.1);
Tailwind
colors: {
  custom: {
    50: '#7f8266',
    500: '#4d522d',
    950: '#000000',
  },
}
SCSS
$custom: #4d522d;
$custom-light: #7f8266;
$custom-dark: #000000;
JSON
{
  "hex": "#4d522d",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 68.108,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.42427,
    "c": 0.05637,
    "h": 115.1
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#4D522D
secondary
#5D5784
accent
#62C570
background
#F7F7F6
surface
#EEEEEB
border
#C9C9C6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #4D522D

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

Preview Lab → · Contrast checker → · Palette generator →

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