#4D421D#4D421D

#4D421D is a dark, muted yellow. Relative luminance 0.056; OKLCH L 38.2% C 0.056 H 93.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4D421D
RGBrgb(77, 66, 29)
HSLhsl(46, 45%, 21%)
HSVhsv(46, 62%, 30%)
CMYKcmyk(0%, 14.3%, 62.3%, 69.8%)
CIE-LABlab(28.28, -0.69, 23.93)
CIE-LCHlch(28.28, 23.94, 91.64°)
OKLaboklab(38.15% -0.003 0.056)
OKLCHoklch(38.15% 0.056 93)
XYZxyz(5.2308, 5.5632, 1.9604)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D421D #1D284D
analogous
#4D2A1D #4D421D #404D1D
triadic
#4D421D #1D4D42 #421D4D
tetradic
#4D421D #1D4D2A #1D284D #4D1D40
square
#4D421D #1D4D2A #1D284D #4D1D40
split-complementary
#4D421D #1D404D #2A1D4D
monochromatic
#161308 #211C0C #4D421D #79682E #A68E3E

Accessibility & contrast

On white

9.94
#4D421D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4D421D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D421D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D421D#FFFFFF#000000##FFFFFF
##4D421D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494119
Deuteranopia (green-blind)
#4C441F
Tritanopia (blue-blind)
#533D3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d421d;
/* rgb */ color: rgb(77, 66, 29);
/* oklch */ color: oklch(38.2% 0.056 93.0);
Tailwind
colors: {
  custom: {
    50: '#80765a',
    500: '#4d421d',
    950: '#000000',
  },
}
SCSS
$custom: #4d421d;
$custom-light: #80765a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d421d",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 29
  },
  "hsl": {
    "h": 46.25,
    "s": 45.283,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.05608,
    "h": 93
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#4D421D
secondary
#445282
accent
#71D553
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0804
muted
#7C7B79

Preview Lab

Preview with #4D421D

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

Preview Lab → · Contrast checker → · Palette generator →

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